mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-28 07:02:17 +03:00
Исправляем дневные графики и вывод ошибок
This commit is contained in:
@@ -156,7 +156,7 @@ class LogingDaily : public IoTItem {
|
||||
if (!firstTimeInit) {
|
||||
if (prevDate != currentDate) {
|
||||
changed = true;
|
||||
SerialPrint("i", F("NTP"), "Change day event");
|
||||
SerialPrint("i", F("NTP"), F("Change day event"));
|
||||
#if defined(ESP8266)
|
||||
FileFS.gc();
|
||||
#endif
|
||||
@@ -164,7 +164,7 @@ class LogingDaily : public IoTItem {
|
||||
#endif
|
||||
}
|
||||
}
|
||||
firstTimeInit = false;
|
||||
if (isTimeSynch) firstTimeInit = false;
|
||||
prevDate = currentDate;
|
||||
return changed;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user