Skip to content

Commit

Permalink
backupDigimode avoided in only rx mode
Browse files Browse the repository at this point in the history
  • Loading branch information
richonguzman committed Aug 14, 2024
1 parent 39276b0 commit 4fb4712
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/LoRa_APRS_iGate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
1 change: 1 addition & 0 deletions src/gps_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 4fb4712

Please sign in to comment.