From 89bb214abb142a4e3ef975f860f3721503c98678 Mon Sep 17 00:00:00 2001 From: Thomas Osterried Date: Sun, 18 Dec 2022 11:53:07 +0100 Subject: [PATCH] fix Signed-off-by: Thomas Osterried --- src/taskWebServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/taskWebServer.cpp b/src/taskWebServer.cpp index 0ec9e27..f4b0ff3 100644 --- a/src/taskWebServer.cpp +++ b/src/taskWebServer.cpp @@ -1943,7 +1943,7 @@ void send_to_aprsis() // APRS-IS: on_Err: 'Error: connect failed' [0.0.255.0], tries 1 // connection retry intervall is every 10s. -> In 5min, tries == 30. // -> Q&D fix: Restart WIFI. - if (aprsis_connect_tries % 30) { + if ((aprsis_connect_tries-1) % 30) { //log_msg = log_msg + ". Restarted WIFI!"; //restart_AP_or_STA(); // ^does not help