mic-e id improoved

This commit is contained in:
richonguzman 2023-12-11 00:57:40 -03:00
parent c6af41be12
commit 0efa2ce475
1 changed files with 2 additions and 2 deletions

View File

@ -72,9 +72,9 @@ namespace APRS_IS_Utils {
String createPacket(String packet) {
if (stationMode>1) {
return packet.substring(3, packet.indexOf(":`")) + ",qAR," + Config.callsign + packet.substring(packet.indexOf(":`")) + "\n";
return packet.substring(3, packet.indexOf(":")) + ",qAR," + Config.callsign + packet.substring(packet.indexOf(":")) + "\n";
} else {
return packet.substring(3, packet.indexOf(":`")) + ",qAO," + Config.callsign + packet.substring(packet.indexOf(":`")) + "\n";
return packet.substring(3, packet.indexOf(":")) + ",qAO," + Config.callsign + packet.substring(packet.indexOf(":")) + "\n";
}
}