micronmea: was using global rtc_clock to sync instead of _clock

Этот коммит содержится в:
Florent
2025-06-01 20:02:35 -07:00
коммит произвёл hank
родитель 31cbf9ed0e
Коммит 49da6957b5
+1 -1
Просмотреть файл
@@ -98,7 +98,7 @@ public :
next_check = millis() + 1000; next_check = millis() + 1000;
if (_time_sync_needed && time_valid > 2) { if (_time_sync_needed && time_valid > 2) {
if (_clock != NULL) { if (_clock != NULL) {
rtc_clock.setCurrentTime(getTimestamp()); _clock.setCurrentTime(getTimestamp());
_time_sync_needed = false; _time_sync_needed = false;
} }
} }