mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-03-20 12:15:21 +01:00
code cleaning
This commit is contained in:
parent
c89ca7316f
commit
d75be8f007
|
|
@ -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(":"));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -52,7 +52,8 @@ namespace GPS_Utils {
|
|||
}
|
||||
|
||||
void generateBeacons() {
|
||||
String beaconPacket = Config.callsign + ">APLRG1";
|
||||
String beaconPacket = Config.callsign;
|
||||
beaconPacket += ">APLRG1";
|
||||
if (Config.beacon.path != "") {
|
||||
beaconPacket += ",";
|
||||
beaconPacket += Config.beacon.path;
|
||||
|
|
|
|||
Loading…
Reference in a new issue