diff --git a/firmware/firmware.ino b/firmware/firmware.ino index 49d08f2..f73d166 100644 --- a/firmware/firmware.ino +++ b/firmware/firmware.ino @@ -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(); }