mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-03-09 23:13:56 +01:00
aprsis.active update in digi.ecoMode == 1 ?
This commit is contained in:
parent
2418291ac9
commit
e57fad6666
|
|
@ -87,6 +87,7 @@ bool Configuration::writeFile() {
|
|||
|
||||
data["digi"]["mode"] = digi.mode;
|
||||
data["digi"]["ecoMode"] = digi.ecoMode;
|
||||
if (digi.ecoMode == 1) data["aprs_is"]["active"] = false;
|
||||
#if defined(HAS_A7670)
|
||||
if (digi.ecoMode == 1) data["digi"]["ecoMode"] = 2;
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -101,7 +101,6 @@ namespace QUERY_Utils {
|
|||
if (digiEcoMode == 0) { // Start Digipeater EcoMode
|
||||
answer = "DigiEcoMode:ON";
|
||||
Config.digi.ecoMode = 1;
|
||||
Config.aprs_is.active = false;
|
||||
shouldSleepLowVoltage = true; // to make sure all packets in outputPacketBuffer are sent before restart.
|
||||
saveNewDigiEcoModeConfig = true;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue