From a34a42b3d7ef5359cd7a3d20455bcfa4143f2ea5 Mon Sep 17 00:00:00 2001 From: richonguzman Date: Thu, 4 May 2023 23:04:12 -0400 Subject: [PATCH] update on failure of { position --- src/LoRa_APRS_iGate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LoRa_APRS_iGate.cpp b/src/LoRa_APRS_iGate.cpp index 8ec2cd7..a4c77e5 100644 --- a/src/LoRa_APRS_iGate.cpp +++ b/src/LoRa_APRS_iGate.cpp @@ -107,7 +107,7 @@ String createAPRSPacket(String unprocessedPacket) { void validate_and_upload(String packet) { String aprsPacket; - if ((packet.substring(0, 3) == "\x3c\xff\x01") && (packet.substring(4, 5) != "}")) { + if ((packet.substring(0, 3) == "\x3c\xff\x01") && (packet.substring(3, 4) != "}")) { Serial.println(" ---> Valid LoRa Packet!"); aprsPacket = createAPRSPacket(packet); if (!Config.display.always_on) {