Merge pull request #209 from aminch/weather-fix

Reset weather counter on Wifi connection
pull/221/head
SQFMI 2023-04-11 09:48:25 -04:00 committed by GitHub
commit dc2795dcd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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