From 6b1265d6b87962718bc6a2b3c14c26fe0358778b Mon Sep 17 00:00:00 2001 From: Dmitry Borisenko <49808844+DmitryBorisenko33@users.noreply.github.com> Date: Thu, 18 Aug 2022 14:57:58 +0200 Subject: [PATCH] =?UTF-8?q?=D0=BE=D0=BF=D1=82=D0=B8=D0=BC=D0=B8=D0=B7?= =?UTF-8?q?=D0=B0=D1=86=D0=B8=D1=8F=20ntp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Main.cpp | 6 +++--- src/NTP.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Main.cpp b/src/Main.cpp index d89a376d..1a3430b4 100644 --- a/src/Main.cpp +++ b/src/Main.cpp @@ -44,12 +44,12 @@ void setup() { standWebSocketsInit(); #endif - //инициализация mqtt - mqttInit(); - // NTP ntpInit(); + //инициализация mqtt + mqttInit(); + //настраиваем микроконтроллер configure("/config.json"); diff --git a/src/NTP.cpp b/src/NTP.cpp index 21bfef90..30ad55ea 100644 --- a/src/NTP.cpp +++ b/src/NTP.cpp @@ -21,7 +21,7 @@ void ntpInit() { if (prevTime != timenow) { prevTime = timenow; // jsonWriteStr(configLiveJson, "timenow", timenow); - SerialPrint("I", F("NTP"), getDateTimeDotFormated()); + SerialPrint("I", F("✔ NTP"), getDateTimeDotFormated()); } }, nullptr, true);