Add missing sntp_init/sntp_stop by mongozmaki · Pull Request #7628 · esp8266/Arduino (original) (raw)
Since #7109, sntp_stop
and sntp_init
are not called anymore when usingconfigTime(int timezone_sec, int daylightOffset_sec, const char* server1, const char* server2, const char* server3)
This results in NTP sync not working. (settimeofday_cb
callback is never called).