diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5a8b52ff..fdb31b8a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -78,7 +78,9 @@ jobs: - name: QRPLabs_LightGateway_1_0 chip: esp32s3 - name: XIAO_ESP32S3_WIO_SX1262 - chip: esp32s3 + chip: esp32s3 + - name: TROY_LoRa_APRS + chip: esp32 steps: - uses: actions/checkout@v3 diff --git a/src/LoRa_APRS_iGate.cpp b/src/LoRa_APRS_iGate.cpp index dc82a2a0..2ee20794 100644 --- a/src/LoRa_APRS_iGate.cpp +++ b/src/LoRa_APRS_iGate.cpp @@ -48,7 +48,7 @@ ___________________________________________________________________*/ #include "A7670_utils.h" #endif -String versionDate = "2025.01.06"; +String versionDate = "2025.01.07"; Configuration Config; WiFiClient espClient; #ifdef HAS_GPS diff --git a/src/utils.cpp b/src/utils.cpp index 9fdde86e..29646a37 100644 --- a/src/utils.cpp +++ b/src/utils.cpp @@ -186,7 +186,7 @@ namespace Utils { void checkBeaconInterval() { uint32_t lastTx = millis() - lastBeaconTx; - if (((Config.aprs_is.active && passcodeValid) || Config.digi.mode != 0) && (lastBeaconTx == 0 || lastTx >= Config.beacon.interval * 60 * 1000)) { + if (lastBeaconTx == 0 || lastTx >= Config.beacon.interval * 60 * 1000) { beaconUpdate = true; } @@ -198,9 +198,7 @@ namespace Utils { #endif if (beaconUpdate) { - if (!Config.display.alwaysOn && Config.display.timeout != 0) { - displayToggle(true); - } + if (!Config.display.alwaysOn && Config.display.timeout != 0) displayToggle(true); if (sendStartTelemetry && Config.battery.sendVoltageAsTelemetry && !Config.wxsensor.active && (Config.battery.sendInternalVoltage || Config.battery.sendExternalVoltage)) { sendInitialTelemetryPackets(); @@ -289,7 +287,7 @@ namespace Utils { secondaryBeaconPacket += encodedTelemetry; } - if (Config.aprs_is.active && Config.beacon.sendViaAPRSIS && !backUpDigiMode) { + if (Config.beacon.sendViaAPRSIS && Config.aprs_is.active && passcodeValid && !backUpDigiMode) { Utils::println("-- Sending Beacon to APRSIS --"); displayShow(firstLine, secondLine, thirdLine, fourthLine, fifthLine, sixthLine, "SENDING IGATE BEACON", 0); seventhLine = " listening...";