diff --git a/src/BootOptions.cpp b/src/BootOptions.cpp index 5361c57..70f11ba 100644 --- a/src/BootOptions.cpp +++ b/src/BootOptions.cpp @@ -42,7 +42,7 @@ BootOptions::BootOptions() EEPROM.begin(sizeof(crashCount)); EEPROM.get(sizeof(HardwareConfig) + 32, crashCount); EEPROM.end(); - if (resetInfo.reason == REASON_WDT_RST) { + if (resetInfo.reason == REASON_WDT_RST || resetInfo.reason == REASON_EXCEPTION_RST) { if (crashCount++ >= 3) { // Boot into safe mode if the watchdog reset us three times in a row. isSafeMode = true;