From 4168a08276c99738bb2246d3b0d6031c1f1b64e3 Mon Sep 17 00:00:00 2001 From: Proddy Date: Wed, 30 Nov 2022 21:16:41 +0100 Subject: [PATCH] #751 move ntp sending info topic back --- lib/framework/NTPSettingsService.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/framework/NTPSettingsService.cpp b/lib/framework/NTPSettingsService.cpp index f20bd8d6a..1697ad3d1 100644 --- a/lib/framework/NTPSettingsService.cpp +++ b/lib/framework/NTPSettingsService.cpp @@ -83,4 +83,5 @@ void NTPSettingsService::configureTime(AsyncWebServerRequest * request, JsonVari void NTPSettingsService::ntp_received(struct timeval * tv) { // emsesp::EMSESP::logger().info("NTP sync to %d sec", tv->tv_sec); emsesp::EMSESP::system_.ntp_connected(true); + emsesp::EMSESP::system_.send_info_mqtt("connected", true); // send info topic with NTP time }