8000 prevents going into safe mode for watchdog resets · adafruit/circuitpython@d43eb7e · GitHub
[go: up one dir, main page]

Skip to content

Commit d43eb7e

Browse files
committed
prevents going into safe mode for watchdog resets
1 parent 816cbe4 commit d43eb7e

File tree

1 file changed

+1
-1
lines changed
  • ports/esp32s2/supervisor

1 file changed

+1
-1
lines changed

ports/esp32s2/supervisor/port.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,9 @@ safe_mode_t port_init(void) {
143143
case ESP_RST_BROWNOUT:
144144
return BROWNOUT;
145145
case ESP_RST_PANIC:
146+
return HARD_CRASH;
146147
case ESP_RST_INT_WDT:
147148
case ESP_RST_WDT:
148-
return HARD_CRASH;
149149
default:
150150
break;
151151
}

0 commit comments

Comments
 (0)
0