t1000: remove sync custom var

This commit is contained in:
Florent 2025-06-01 15:32:02 +02:00
parent c42e414a09
commit 1ac03f5592
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;
}
}