Open vslinuxdotnet opened 2 months ago
Seams that the lib don't update the system datetime in esp8266. Fixed by do this:
if (syncEventTriggered) { syncEventTriggered = false; processSyncEvent (ntpEvent); setTime(time (NULL));//fix system datetime }
Seams that the lib don't update the system datetime in esp8266. Fixed by do this:
if (syncEventTriggered) { syncEventTriggered = false; processSyncEvent (ntpEvent); setTime(time (NULL));//fix system datetime }