backupDigimode avoided in only rx mode
This commit is contained in:
parent
39276b0d32
commit
4fb4712a33
|
|
@ -162,7 +162,7 @@ void loop() {
|
||||||
APRS_IS_Utils::processLoRaPacket(packet); // Send received packet to APRSIS
|
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();
|
STATION_Utils::clean25SegBuffer();
|
||||||
DIGI_Utils::processLoRaPacket(packet); // Send received packet to Digi
|
DIGI_Utils::processLoRaPacket(packet); // Send received packet to Digi
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -63,6 +63,7 @@ namespace GPS_Utils {
|
||||||
Config.aprs_is.objectsToRF = false;
|
Config.aprs_is.objectsToRF = false;
|
||||||
Config.beacon.sendViaRF = false;
|
Config.beacon.sendViaRF = false;
|
||||||
Config.digi.mode = 0;
|
Config.digi.mode = 0;
|
||||||
|
Config.backupDigiMode = false;
|
||||||
}
|
}
|
||||||
String beaconPacket = Config.callsign;
|
String beaconPacket = Config.callsign;
|
||||||
beaconPacket += ">APLRG1";
|
beaconPacket += ">APLRG1";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue