mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-01-23 09:10:15 +01:00
update on failure of { position
This commit is contained in:
parent
d6ff40765e
commit
a34a42b3d7
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue