From de08f0b9090d2b68e0d2f6f93f15e7daa3df6531 Mon Sep 17 00:00:00 2001 From: Marcel Walter Date: Fri, 20 Feb 2026 12:34:00 +0100 Subject: [PATCH] rebase Reboot message --- src/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index eb87e78..7086c07 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -301,9 +301,9 @@ void loop() if ((now - lastWifiDisconnect) > (5 /* min */ * 60 /* sec/min */ * 1000 /* millisec/sec */)) { -#ifdef DEBUGGER_TELEGRAM_ID - tele.sendMessage(DEBUGGER_TELEGRAM_ID, "Wifi disconnected - restarting now"); -#endif + Serial.println("Wifi disconnected - restarting now"); + + delay(2000); esp_restart(); } }