From d1732a6bba92881ef36f89656f851674903ceae9 Mon Sep 17 00:00:00 2001 From: S57PNX Date: Thu, 15 Aug 2024 20:54:26 +0200 Subject: [PATCH] Correct logic of serial notifications for APRS-IS and RF beacons --- src/utils.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/utils.cpp b/src/utils.cpp index 18cb8f5..111a828 100644 --- a/src/utils.cpp +++ b/src/utils.cpp @@ -112,8 +112,7 @@ namespace Utils { if (!Config.display.alwaysOn && Config.display.timeout != 0) { displayToggle(true); } - Utils::println("-- Sending Beacon to APRSIS --"); - + STATION_Utils::deleteNotHeard(); activeStations(); @@ -172,6 +171,7 @@ namespace Utils { } if (Config.aprs_is.active && Config.beacon.sendViaAPRSIS && !backUpDigiMode) { + Utils::println("-- Sending Beacon to APRSIS --"); displayShow(firstLine, secondLine, thirdLine, fourthLine, fifthLine, sixthLine, "SENDING IGATE BEACON", 0); seventhLine = " listening..."; #ifdef HAS_A7670 @@ -182,6 +182,7 @@ namespace Utils { } if (Config.beacon.sendViaRF || backUpDigiMode) { + Utils::println("-- Sending Beacon to RF --"); displayShow(firstLine, secondLine, thirdLine, fourthLine, fifthLine, sixthLine, "SENDING DIGI BEACON", 0); seventhLine = " listening..."; STATION_Utils::addToOutputPacketBuffer(secondaryBeaconPacket);