mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-07-05 17:31:58 +02:00
code cleaning
This commit is contained in:
@@ -109,8 +109,7 @@ namespace APRS_IS_Utils {
|
||||
String buildPacketToUpload(const String& packet) {
|
||||
if (!(Config.aprs_is.active && Config.digi.mode == 0)) { // Check if NOT only IGate
|
||||
return packet.substring(3, packet.indexOf(":")) + ",qAR," + Config.callsign + packet.substring(packet.indexOf(":"));
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
return packet.substring(3, packet.indexOf(":")) + ",qAO," + Config.callsign + packet.substring(packet.indexOf(":"));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user