mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-27 06:32:19 +03:00
удаление часов реального времени
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user