mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
esp_panic.h: Add C++ include guards
This commit is contained in:
parent
0b257cfcef
commit
b022232e84
@ -1,6 +1,10 @@
|
|||||||
#ifndef PANIC_H
|
#ifndef PANIC_H
|
||||||
#define PANIC_H
|
#define PANIC_H
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C"
|
||||||
|
{
|
||||||
|
#endif
|
||||||
|
|
||||||
#define PANIC_RSN_NONE 0
|
#define PANIC_RSN_NONE 0
|
||||||
#define PANIC_RSN_DEBUGEXCEPTION 1
|
#define PANIC_RSN_DEBUGEXCEPTION 1
|
||||||
@ -59,4 +63,8 @@ void esp_clear_watchpoint(int no);
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user