Reset the ESP in case that there is no Wifi connection.

master
Kai Lauterbach 4 months ago
parent af2189a78a
commit 44c2ef4144

@ -278,7 +278,11 @@ void wifiConnectionCheck() {
return;
}
// TODO Was muss hier getan werden?
#ifdef ENABLE_WATCHDOG
// loop endless, watchdog will reset the device
while (1 == 1) {}
#endif
ESP.reset();
}

Loading…
Cancel
Save