Merge pull request #61 from chrismcna/master
Timezone of < 0 get reset on reboot
This commit is contained in:
@@ -110,7 +110,7 @@ void timesync_read_config( void ) {
|
|||||||
else {
|
else {
|
||||||
timesync_config.daylightsave = doc["daylightsave"].as<bool>();
|
timesync_config.daylightsave = doc["daylightsave"].as<bool>();
|
||||||
timesync_config.timesync = doc["timesync"].as<bool>();
|
timesync_config.timesync = doc["timesync"].as<bool>();
|
||||||
timesync_config.timezone = doc["timezone"].as<uint32_t>();
|
timesync_config.timezone = doc["timezone"].as<int32_t>();
|
||||||
}
|
}
|
||||||
doc.clear();
|
doc.clear();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user