Mostly updated header files for use in C++

This commit is contained in:
Michael Jacobsen 2015-07-30 19:34:13 +02:00 committed by Angus Gratton
parent 3eee1a9845
commit da6b5f74bb
13 changed files with 97 additions and 8 deletions

View file

@ -6,6 +6,10 @@
#ifndef __ESP_SYSTEM_H__
#define __ESP_SYSTEM_H__
#ifdef __cplusplus
extern "C" {
#endif
enum sdk_rst_reason {
DEFAULT_RST = 0,
WDT_RST = 1,
@ -54,4 +58,8 @@ bool sdk_system_rtc_mem_write(uint8_t dst, const void *src, uint16_t n);
void sdk_system_uart_swap(void);
#ifdef __cplusplus
}
#endif
#endif