Skip to content

Commit

Permalink
Merge pull request #157 from S57PNX/main
Browse files Browse the repository at this point in the history
Correct logic of serial notifications for APRS-IS and RF beacons
  • Loading branch information
richonguzman authored Aug 26, 2024
2 parents 643a18f + bd3a9f9 commit a8c972c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -174,6 +173,7 @@ namespace Utils {
#endif

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
Expand All @@ -184,6 +184,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);
Expand Down

0 comments on commit a8c972c

Please sign in to comment.