Skip to content

Commit f5ab75d

Browse files
committed
Fix haltError to actually enable WDT to attempt to reset
1 parent 4033199 commit f5ab75d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Wippersnapper.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2500,6 +2500,7 @@ void Wippersnapper::runNetFSM() {
25002500
*/
25012501
/**************************************************************************/
25022502
void Wippersnapper::haltError(String error, ws_led_status_t ledStatusColor) {
2503+
WS.enableWDT(5000);
25032504
for (;;) {
25042505
WS_DEBUG_PRINT("ERROR [WDT RESET]: ");
25052506
WS_DEBUG_PRINTLN(error);

0 commit comments

Comments
 (0)