mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
запись времени в переменную
This commit is contained in:
@@ -20,8 +20,9 @@ void ntpInit() {
|
|||||||
static String prevTime;
|
static String prevTime;
|
||||||
if (prevTime != timenow) {
|
if (prevTime != timenow) {
|
||||||
prevTime = timenow;
|
prevTime = timenow;
|
||||||
// jsonWriteStr(configLiveJson, "timenow", timenow);
|
String dateAndTime = getDateTimeDotFormated();
|
||||||
SerialPrint("I", F("✔ NTP"), getDateTimeDotFormated());
|
jsonWriteStr_(errorsHeapJson, F("timenow"), dateAndTime);
|
||||||
|
SerialPrint("I", F("NTP"), "✔ " + dateAndTime);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
nullptr, true);
|
nullptr, true);
|
||||||
|
|||||||
Reference in New Issue
Block a user