Skip to content

Commit

Permalink
Merge pull request #4011 from dheera/main
Browse files Browse the repository at this point in the history
prevents going into safe mode for watchdog resets
  • Loading branch information
tannewt authored Jan 20, 2021
2 parents 333c932 + d43eb7e commit eff68b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ports/esp32s2/supervisor/port.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit eff68b0

Please sign in to comment.