mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-27 06:32:19 +03:00
добавление логирования
This commit is contained in:
@@ -9,6 +9,7 @@ void ntpInit() {
|
||||
ts.add(
|
||||
TIME, 1000, [&](void*) {
|
||||
unixTime = getSystemTime();
|
||||
unixTimeShort = unixTime - START_DATETIME;
|
||||
if (unixTime < MIN_DATETIME) {
|
||||
isTimeSynch = false;
|
||||
// SerialPrint("E", "NTP", "Time not synched");
|
||||
|
||||
Reference in New Issue
Block a user