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

This commit is contained in:
Kai Lauterbach 2023-02-09 16:57:37 +01:00
parent af2189a78a
commit 44c2ef4144

View file

@ -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();
}