mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-12 01:53:07 +03:00
read the rst reason from the SDK if stored.
add String getResetInfo(void); and struct rst_info * getResetInfoPtr(void);
This commit is contained in:
@ -30,7 +30,7 @@ enum rst_reason {
|
||||
DEEP_SLEEP_AWAKE_FLAG = 4
|
||||
};
|
||||
|
||||
struct rst_info{
|
||||
struct rst_info {
|
||||
uint32 reason;
|
||||
uint32 exccause;
|
||||
uint32 epc1;
|
||||
|
Reference in New Issue
Block a user