удаление часов реального времени

This commit is contained in:
Dmitry Borisenko
2022-08-12 22:13:50 +02:00
parent ca95a4528d
commit d22580aac9
17 changed files with 278 additions and 387 deletions

View File

@@ -1,13 +1,10 @@
#include "utils/SerialPrint.h"
#include "classes/IoTRTC.h"
extern IoTRTC *watch;
void SerialPrint(String errorLevel, String module, String msg) {
String tosend;
if (watch) tosend = watch->gettime("d.m.y H:i:s");
else tosend = prettyMillis(millis());
tosend = prettyMillis(millis());
tosend = tosend + " [" + errorLevel + "] [" + module + "] " + msg;
Serial.println(tosend);