t1000: remove sync custom var

This commit is contained in:
Florent 2025-06-01 15:32:02 +02:00 committed by hank
parent 49da6957b5
commit 14cd4ea010
2 changed files with 3 additions and 18 deletions

View file

@ -98,7 +98,7 @@ public :
next_check = millis() + 1000;
if (_time_sync_needed && time_valid > 2) {
if (_clock != NULL) {
_clock.setCurrentTime(getTimestamp());
_clock->setCurrentTime(getTimestamp());
_time_sync_needed = false;
}
}