mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-26 12:50:30 +00:00
Merge branch 'bugfix/cpp_extern' into 'master'
Add extern C header guards to some files Closes IDFGH-2025 and IDFGH-2093 See merge request espressif/esp-idf!6611
This commit is contained in:
@@ -15,6 +15,10 @@
|
||||
#pragma once
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @file esp32/clk.h
|
||||
*
|
||||
@@ -85,3 +89,7 @@ int esp_clk_xtal_freq(void);
|
||||
* @return Value or RTC counter, expressed in microseconds
|
||||
*/
|
||||
uint64_t esp_clk_rtc_time(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user