From 1703e3260eb317b1691f30176566e63f5ece8121 Mon Sep 17 00:00:00 2001 From: BitMaker Date: Sat, 9 Sep 2023 00:07:07 +0200 Subject: [PATCH] Minimal changes --- src/monitor.cpp | 2 +- src/version.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/monitor.cpp b/src/monitor.cpp index 062f3a3..d8cb19c 100644 --- a/src/monitor.cpp +++ b/src/monitor.cpp @@ -188,7 +188,7 @@ String getTime(void){ //Check if need an NTP call to check current time if((mTriggerUpdate == 0) || (millis() - mTriggerUpdate > UPDATE_PERIOD_h * 60 * 60 * 1000)){ //60 sec. * 60 min * 1000ms if(WiFi.status() == WL_CONNECTED) { - if(timeClient.update()) mTriggerUpdate = millis(); + if(timeClient.update()) mTriggerUpdate = millis(); initialTime = timeClient.getEpochTime(); // Guarda la hora inicial (en segundos desde 1970) Serial.print("TimeClient NTPupdateTime "); } diff --git a/src/version.h b/src/version.h index 3ca4b5e..3a40278 100644 --- a/src/version.h +++ b/src/version.h @@ -1,6 +1,6 @@ #ifndef VERSION_H #define VERSION_H -#define CURRENT_VERSION "V1.6.1" +#define CURRENT_VERSION "V1.6.2" #endif // VERSION_H