mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-11-03 12:12:20 +01:00
cambio1
This commit is contained in:
1 parent
786f5bdc0e
commit
e689bb592c
14 files changed
+49
-52
No files matched your search
+2
-2
@@ -141,7 +141,7 @@ namespace WEB_Utils {
|
||||
|
||||
|
||||
Config.digi.mode = request->getParam("digi.mode", true)->value().toInt();
|
||||
Config.digi.ecoMode = request->hasParam("digi.ecoMode", true);
|
||||
Config.digi.ecoMode = request->getParam("digi.ecoMode", true)->value().toInt();;
|
||||
|
||||
|
||||
Config.loramodule.txFreq = request->getParam("lora.txFreq", true)->value().toInt();
|
||||
@@ -271,7 +271,7 @@ namespace WEB_Utils {
|
||||
}
|
||||
|
||||
void setup() {
|
||||
if (!Config.digi.ecoMode) {
|
||||
if (Config.digi.ecoMode == 0) {
|
||||
server.on("/", HTTP_GET, handleHome);
|
||||
server.on("/status", HTTP_GET, handleStatus);
|
||||
server.on("/received-packets.json", HTTP_GET, handleReceivedPackets);
|
||||
|
||||
Reference in new issue
Block a user