gmt correction for 15 min

This commit is contained in:
richonguzman 2025-01-02 12:20:18 -03:00
parent a0fdd78cb1
commit ffe1a2f830
2 changed files with 3 additions and 4 deletions

View file

@ -119,11 +119,10 @@ public:
class NTP {
public:
int gmtCorrection;
float gmtCorrection;
};
class Configuration {
public:
String callsign;

View file

@ -211,7 +211,7 @@ bool Configuration::readFile() {
webadmin.username = data["webadmin"]["username"] | "admin";
webadmin.password = data["webadmin"]["password"] | "";
ntp.gmtCorrection = data["ntp"]["gmtCorrection"] | 0;
ntp.gmtCorrection = data["ntp"]["gmtCorrection"] | 0.0;
lowPowerMode = data["other"]["lowPowerMode"] | false;
lowVoltageCutOff = data["other"]["lowVoltageCutOff"] | 0;
@ -337,7 +337,7 @@ void Configuration::init() {
webadmin.username = "admin";
webadmin.password = "";
ntp.gmtCorrection = 0;
ntp.gmtCorrection = 0.0;
Serial.println("All is Written!");
}