mode4 without PATH corrected

This commit is contained in:
richonguzman
2023-06-12 01:53:31 -04:00
parent 72204cb6fd
commit ec3f3f1fa9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ void processPacket(String packet) {
} else if (stationMode ==4){
Utils::typeOfPacket(packet);
if (packet.indexOf("WIDE1-1") == -1) {
loraPacket = packet.substring(3,packet.indexOf(":")) + "," + Config.callsign + "*" + packet.indexOf(":");
loraPacket = packet.substring(3,packet.indexOf(":")) + "," + Config.callsign + "*" + packet.substring(packet.indexOf(":"));
} else {
loraPacket = packet.substring(3,packet.indexOf(",")+1) + Config.callsign + "*" + packet.substring(packet.indexOf(","));
}