mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
Добавляем защиту от отсутствия синхронизации времени
This commit is contained in:
@@ -25,6 +25,7 @@ void ntpInit() {
|
||||
jsonWriteStr_(errorsHeapJson, F("timenow"), dateAndTime);
|
||||
SerialPrint("I", F("NTP"), "✔ " + dateAndTime);
|
||||
}
|
||||
_time_isTrust = true; // доверяем значению времени
|
||||
},
|
||||
nullptr, true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user