mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
..
This commit is contained in:
@@ -22,7 +22,7 @@ class Loging : public IoTItem {
|
|||||||
} else {
|
} else {
|
||||||
if (isTimeSynch) {
|
if (isTimeSynch) {
|
||||||
regEvent(value, "Logging");
|
regEvent(value, "Logging");
|
||||||
String logData = String(unixTime) + " " + value + "\r\n";
|
String logData = String(unixTime) + " " + value;
|
||||||
addFileLn("/log.txt", logData);
|
addFileLn("/log.txt", logData);
|
||||||
} else {
|
} else {
|
||||||
SerialPrint("E", F("Logging"), F("cant logging - no time Synch"));
|
SerialPrint("E", F("Logging"), F("cant logging - no time Synch"));
|
||||||
|
|||||||
Reference in New Issue
Block a user