From f69c440e27631dddeee726e35c9ec8286ff557f6 Mon Sep 17 00:00:00 2001 From: Siwat Sirichai Date: Tue, 7 Nov 2023 19:29:48 +0700 Subject: [PATCH] periodic NTP Update --- src/espmega_iot_core.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/espmega_iot_core.cpp b/src/espmega_iot_core.cpp index 839b08e..d6253ac 100644 --- a/src/espmega_iot_core.cpp +++ b/src/espmega_iot_core.cpp @@ -434,6 +434,7 @@ void mqtt_connect() publish_ac_state(); mqtt_connected_user_callback(); standalone = false; + ESPMega_updateTimeFromNTP(); } else {