Reset weather counter on Wifi connection

pull/209/head
Adam Minchinton 2023-02-14 20:22:05 +01:00
parent c3587d04a7
commit 0e319fe3e7
1 changed files with 1 additions and 0 deletions

View File

@ -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