log NTP synchronization

This commit is contained in:
Ollo 2023-03-02 21:19:32 +01:00
parent d6cc8f73cc
commit a13d74e005
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@ rgbBuffer = ws2812.newBuffer(114, 3)
function syncTimeFromInternet()
if (syncRunning == nil) then
print("NTP: " .. tostring(sntpserverhostname))
syncRunning=true
sntp.sync(sntpserverhostname,
function(sec,usec,server)