From 31daddf917cdfdc855d0bbcfa680d1cb884abc31 Mon Sep 17 00:00:00 2001 From: "Ricardo Guzman (Richonguzman)" Date: Mon, 22 Dec 2025 19:56:15 -0300 Subject: [PATCH] invalid Passcode non blocking fix --- src/aprs_is_utils.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/aprs_is_utils.cpp b/src/aprs_is_utils.cpp index 0505ea3..e021900 100644 --- a/src/aprs_is_utils.cpp +++ b/src/aprs_is_utils.cpp @@ -278,8 +278,9 @@ namespace APRS_IS_Utils { if (!passcodeValid && packet.indexOf(Config.callsign) != -1) { if (packet.indexOf("unverified") != -1 ) { Serial.println("\n****APRS PASSCODE NOT VALID****\n"); - displayShow(firstLine, "", " APRS PASSCODE", " NOT VALID !!!", "", "", "", 0); - while (1) {}; + displayShow(firstLine, "", " APRS PASSCODE", " NOT VALID !!!", "", "", "", 3000); + aprsIsClient.stop(); + Config.aprs_is.active = false; } else if (packet.indexOf("verified") != -1 ) { passcodeValid = true; }