mirror of
https://github.com/AlexGyver/GyverLamp.git
synced 2025-08-10 17:57:37 +03:00
upd
This commit is contained in:
@@ -18,7 +18,7 @@ void timeTick() {
|
||||
}
|
||||
}
|
||||
|
||||
if (minuteCounter > 5) { // синхронизация каждые 5 минут
|
||||
if (minuteCounter > 30 && WiFi.status() == WL_CONNECTED) { // синхронизация каждые 30 минут
|
||||
minuteCounter = 0;
|
||||
if (timeClient.update()) {
|
||||
hrs = timeClient.getHours();
|
||||
|
Reference in New Issue
Block a user