Missing serialize.

This commit is contained in:
Blaz Kristan 2023-08-15 17:20:07 +02:00
parent d9e576c35c
commit df174f6d26

View File

@ -940,6 +940,7 @@ void serializeConfig() {
JsonObject if_ntp = interfaces.createNestedObject("ntp"); JsonObject if_ntp = interfaces.createNestedObject("ntp");
if_ntp["en"] = ntpEnabled; if_ntp["en"] = ntpEnabled;
if_ntp[F("host")] = ntpServerName; if_ntp[F("host")] = ntpServerName;
if_ntp[F("int")] = ntpSyncInterval;
if_ntp[F("tz")] = currentTimezone; if_ntp[F("tz")] = currentTimezone;
if_ntp[F("offset")] = utcOffsetSecs; if_ntp[F("offset")] = utcOffsetSecs;
if_ntp[F("ampm")] = useAMPM; if_ntp[F("ampm")] = useAMPM;