prevents going into safe mode for watchdog resets

This commit is contained in:
dheera 2021-01-16 17:38:08 -08:00
parent 816cbe4704
commit d43eb7e84b

View File

@ -143,9 +143,9 @@ safe_mode_t port_init(void) {
case ESP_RST_BROWNOUT:
return BROWNOUT;
case ESP_RST_PANIC:
return HARD_CRASH;
case ESP_RST_INT_WDT:
case ESP_RST_WDT:
return HARD_CRASH;
default:
break;
}