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 {