update on failure of { position

This commit is contained in:
richonguzman 2023-05-04 23:04:12 -04:00
parent d6ff40765e
commit a34a42b3d7
1 changed files with 1 additions and 1 deletions

View File

@ -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) {