mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-02-05 15:24:40 +01:00
new byte for syslog
This commit is contained in:
parent
62107a5b4a
commit
f3e0830473
|
|
@ -197,7 +197,8 @@ namespace GPS_Utils {
|
|||
encodedBytePosition = packet.indexOf(":=") + 14;
|
||||
}
|
||||
if (encodedBytePosition != 0) {
|
||||
if (String(packet[encodedBytePosition]) == "G" || String(packet[encodedBytePosition]) == "Q" || String(packet[encodedBytePosition]) == "[" || String(packet[encodedBytePosition]) == "H") {
|
||||
char currentChar = packet[encodedBytePosition];
|
||||
if (currentChar == 'G' || currentChar == 'Q' || currentChar == '[' || currentChar == 'H' || currentChar == 'X') {
|
||||
return decodeEncodedGPS(packet);
|
||||
} else {
|
||||
return getReceivedGPS(packet);
|
||||
|
|
|
|||
Loading…
Reference in a new issue