File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -2748,11 +2748,6 @@ void Wippersnapper::connect() {
2748
2748
// Dump device info to the serial monitor
2749
2749
printDeviceInfo ();
2750
2750
2751
- // enable global WDT
2752
- #ifndef ARDUINO_ARCH_RP2040
2753
- WS.enableWDT (WS_WDT_TIMEOUT);
2754
- #endif
2755
-
2756
2751
// Generate device identifier
2757
2752
if (!generateDeviceUID ()) {
2758
2753
haltError (" Unable to generate Device UID" );
@@ -2774,11 +2769,9 @@ void Wippersnapper::connect() {
2774
2769
WS_DEBUG_PRINTLN (" Running Network FSM..." );
2775
2770
// Run the network fsm
2776
2771
runNetFSM ();
2777
- #ifdef ARDUINO_ARCH_RP2040
2778
- WS.enableWDT (WS_WDT_TIMEOUT); // wifi multi doesn't feed the WDT
2779
- #else
2780
- WS.feedWDT ();
2781
- #endif
2772
+
2773
+ // Enable WDT after wifi connection as wifiMulti doesnt feed WDT
2774
+ WS.enableWDT (WS_WDT_TIMEOUT);
2782
2775
2783
2776
#ifdef USE_DISPLAY
2784
2777
WS._ui_helper ->set_load_bar_icon_complete (loadBarIconCloud);
You can’t perform that action at this time.
0 commit comments