diff --git a/code/espurna/ws.cpp b/code/espurna/ws.cpp index f6569bf0..3adecb24 100644 --- a/code/espurna/ws.cpp +++ b/code/espurna/ws.cpp @@ -45,7 +45,7 @@ void _wsUpdate(JsonObject& root) { } #if NTP_SUPPORT if (ntpSynced()) { - auto info { ntpInfo() }; + auto info = ntpInfo(); root["now"] = info.now; root["nowString"] = info.utc; root["nowLocalString"] = info.local.length()