- TFT_eSPI tft = TFT_eSPI();
+ TFT_eSPI tft = TFT_eSPI();
TFT_eSprite sprite = TFT_eSprite(&tft);
#ifdef HELTEC_WIRELESS_TRACKER
@@ -176,7 +176,7 @@ void displayToggle(bool toggle) {
#else
if (displayFound) display.ssd1306_command(SSD1306_DISPLAYOFF);
#endif
-
+
#endif
#endif
}
diff --git a/src/mqtt_utils.cpp b/src/mqtt_utils.cpp
index 0ccad61..7793962 100644
--- a/src/mqtt_utils.cpp
+++ b/src/mqtt_utils.cpp
@@ -1,17 +1,17 @@
/* Copyright (C) 2025 Ricardo Guzman - CA2RXU
- *
+ *
* This file is part of LoRa APRS iGate.
- *
+ *
* LoRa APRS iGate is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
+ * the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
- *
+ *
* LoRa APRS iGate is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with LoRa APRS iGate. If not, see .
*/
@@ -95,7 +95,7 @@ namespace MQTT_Utils {
void setup() {
if (!Config.mqtt.active) return;
pubSub.setClient(mqttClient);
- pubSub.setCallback(receivedFromMqtt);
+ pubSub.setCallback(receivedFromMqtt);
}
}
\ No newline at end of file
diff --git a/src/ntp_utils.cpp b/src/ntp_utils.cpp
index c069a90..b835384 100644
--- a/src/ntp_utils.cpp
+++ b/src/ntp_utils.cpp
@@ -1,17 +1,17 @@
/* Copyright (C) 2025 Ricardo Guzman - CA2RXU
- *
+ *
* This file is part of LoRa APRS iGate.
- *
+ *
* LoRa APRS iGate is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
+ * the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
- *
+ *
* LoRa APRS iGate is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with LoRa APRS iGate. If not, see .
*/
diff --git a/src/ota_utils.cpp b/src/ota_utils.cpp
index 6195600..abb1ba8 100644
--- a/src/ota_utils.cpp
+++ b/src/ota_utils.cpp
@@ -1,17 +1,17 @@
/* Copyright (C) 2025 Ricardo Guzman - CA2RXU
- *
+ *
* This file is part of LoRa APRS iGate.
- *
+ *
* LoRa APRS iGate is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
+ * the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
- *
+ *
* LoRa APRS iGate is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with LoRa APRS iGate. If not, see .
*/
diff --git a/src/tnc_utils.cpp b/src/tnc_utils.cpp
index d23e6cc..8de1bca 100644
--- a/src/tnc_utils.cpp
+++ b/src/tnc_utils.cpp
@@ -1,17 +1,17 @@
/* Copyright (C) 2025 Ricardo Guzman - CA2RXU
- *
+ *
* This file is part of LoRa APRS iGate.
- *
+ *
* LoRa APRS iGate is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
+ * the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
- *
+ *
* LoRa APRS iGate is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with LoRa APRS iGate. If not, see .
*/
@@ -45,7 +45,7 @@ String inputSerialBuffer = "";
namespace TNC_Utils {
-
+
void setup() {
if (Config.tnc.enableServer && Config.digi.ecoMode == 0) {
tncServer.stop();
diff --git a/src/web_utils.cpp b/src/web_utils.cpp
index 9a99e2c..6197b37 100644
--- a/src/web_utils.cpp
+++ b/src/web_utils.cpp
@@ -1,17 +1,17 @@
/* Copyright (C) 2025 Ricardo Guzman - CA2RXU
- *
+ *
* This file is part of LoRa APRS iGate.
- *
+ *
* LoRa APRS iGate is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
+ * the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
- *
+ *
* LoRa APRS iGate is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with LoRa APRS iGate. If not, see .
*/
@@ -88,7 +88,7 @@ namespace WEB_Utils {
return request->requestAuthentication();
File file = SPIFFS.open("/igate_conf.json");
-
+
String fileContent;
while(file.available()){
fileContent += String((char)file.read());
@@ -161,7 +161,7 @@ namespace WEB_Utils {
Config.callsign = getParamStringSafe("callsign", Config.callsign);
Config.tacticalCallsign = getParamStringSafe("tacticalCallsign", Config.tacticalCallsign);
-
+
Config.wifiAutoAP.password = getParamStringSafe("wifi.autoAP.password", Config.wifiAutoAP.password);
Config.wifiAutoAP.timeout = getParamIntSafe("wifi.autoAP.timeout", Config.wifiAutoAP.timeout);
@@ -299,7 +299,7 @@ namespace WEB_Utils {
AsyncWebServerResponse *response = request->beginResponse(302, "text/html", "");
response->addHeader("Location", "/?success=1");
request->send(response);
-
+
displayToggle(false);
delay(500);
ESP.restart();
@@ -309,7 +309,7 @@ namespace WEB_Utils {
errorPage += "Configuration Error:
";
errorPage += "Couldn't save new configuration. Please try again.
";
errorPage += "Back