From 0e319fe3e79b636197fc11cc20f7dce45cba0663 Mon Sep 17 00:00:00 2001 From: Adam Minchinton Date: Tue, 14 Feb 2023 20:22:05 +0100 Subject: [PATCH] Reset weather counter on Wifi connection --- src/Watchy.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Watchy.cpp b/src/Watchy.cpp index 8457e89..19212ca 100644 --- a/src/Watchy.cpp +++ b/src/Watchy.cpp @@ -828,6 +828,7 @@ void Watchy::setupWifi() { display.println(WiFi.SSID()); display.println("Local IP:"); display.println(WiFi.localIP()); + weatherIntervalCounter = -1; // Reset to force weather to be read again } display.display(false); // full refresh // turn off radios