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:
Ivan Grokhotkov
2019-11-19 19:01:29 +08:00
3 changed files with 24 additions and 0 deletions

View File

@@ -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