diff --git a/src/Watchy.cpp b/src/Watchy.cpp index 84fa02a..28dc973 100644 --- a/src/Watchy.cpp +++ b/src/Watchy.cpp @@ -683,7 +683,7 @@ weatherData Watchy::getWeatherData(){ weatherIntervalCounter = 0; }else{ weatherIntervalCounter++; - ntpSyncTimeCounter = ntpSyncTimeCounter + WEATHER_UPDATE_INTERVAL; + ntpSyncTimeCounter++; } return currentWeather; } @@ -1004,4 +1004,4 @@ void Watchy::updateFWBegin(){ // time_t t = makeTime(tm); // return t + FUDGE; //add fudge factor to allow for compile time -// } \ No newline at end of file +// }