From 1ad13e3c09368cca0b4d7b6928254409b54af01f Mon Sep 17 00:00:00 2001 From: richonguzman Date: Sat, 4 Jan 2025 12:30:22 -0300 Subject: [PATCH] gmt 15min fix --- data/igate_conf.json | 2 +- src/LoRa_APRS_iGate.cpp | 2 +- src/web_utils.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/data/igate_conf.json b/data/igate_conf.json index eaa6d07..afe41b8 100644 --- a/data/igate_conf.json +++ b/data/igate_conf.json @@ -82,7 +82,7 @@ "password": "" }, "ntp": { - "gmtCorrection": 0 + "gmtCorrection": 0.0 }, "other": { "rememberStationTime": 30, diff --git a/src/LoRa_APRS_iGate.cpp b/src/LoRa_APRS_iGate.cpp index 65b8f6f..71d2b46 100644 --- a/src/LoRa_APRS_iGate.cpp +++ b/src/LoRa_APRS_iGate.cpp @@ -48,7 +48,7 @@ ___________________________________________________________________*/ #include "A7670_utils.h" #endif -String versionDate = "2025.01.02"; +String versionDate = "2025.01.04"; Configuration Config; WiFiClient espClient; #ifdef HAS_GPS diff --git a/src/web_utils.cpp b/src/web_utils.cpp index 3181cca..ce1838a 100644 --- a/src/web_utils.cpp +++ b/src/web_utils.cpp @@ -214,7 +214,7 @@ namespace WEB_Utils { Config.webadmin.password = request->getParam("webadmin.password", true)->value(); } - Config.ntp.gmtCorrection = request->getParam("ntp.gmtCorrection", true)->value().toInt(); + Config.ntp.gmtCorrection = request->getParam("ntp.gmtCorrection", true)->value().toFloat(); Config.writeFile();