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