backupDigimode avoided in only rx mode

This commit is contained in:
richonguzman 2024-08-14 13:37:52 -04:00
parent 39276b0d32
commit 4fb4712a33
2 changed files with 2 additions and 1 deletions

View File

@ -162,7 +162,7 @@ void loop() {
APRS_IS_Utils::processLoRaPacket(packet); // Send received packet to APRSIS
}
if (Config.digi.mode == 2 || Config.digi.mode == 3 || backUpDigiMode) { // If Digi enabled
if (Config.loramodule.txActive && (Config.digi.mode == 2 || Config.digi.mode == 3 || backUpDigiMode)) { // If Digi enabled
STATION_Utils::clean25SegBuffer();
DIGI_Utils::processLoRaPacket(packet); // Send received packet to Digi
}

View File

@ -63,6 +63,7 @@ namespace GPS_Utils {
Config.aprs_is.objectsToRF = false;
Config.beacon.sendViaRF = false;
Config.digi.mode = 0;
Config.backupDigiMode = false;
}
String beaconPacket = Config.callsign;
beaconPacket += ">APLRG1";