mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-04-09 00:14:55 +00:00
update const String
This commit is contained in:
parent
505bb3d5a4
commit
bbc1996918
2 changed files with 6 additions and 4 deletions
|
|
@ -33,7 +33,7 @@ namespace DIGI_Utils {
|
|||
packetToRepeat += APRS_IS_Utils::checkForStartingBytes(packet.substring(packet.indexOf(":}")));
|
||||
} else {
|
||||
packetToRepeat += APRS_IS_Utils::checkForStartingBytes(packet.substring(packet.indexOf(":")));
|
||||
}
|
||||
}
|
||||
return packetToRepeat;
|
||||
}
|
||||
|
||||
|
|
@ -46,7 +46,7 @@ namespace DIGI_Utils {
|
|||
temp = packet.substring(packet.indexOf(">") + 1, packet.indexOf(":"));
|
||||
}
|
||||
if (temp.indexOf(",") > 2) { // checks for path
|
||||
const String& path = temp.substring(temp.indexOf(",") + 1);
|
||||
const String& path = temp.substring(temp.indexOf(",") + 1); // after tocall
|
||||
if (path.indexOf(Config.beacon.path) != -1) {
|
||||
return buildPacket(path, packet, thirdParty);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue