From ffcfc42b8ad0fb9d13681ce80c14cd182578e8b1 Mon Sep 17 00:00:00 2001 From: richonguzman Date: Mon, 30 Dec 2024 18:02:20 -0300 Subject: [PATCH] digirepeater Beacon fixed --- src/LoRa_APRS_iGate.cpp | 2 +- src/utils.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/LoRa_APRS_iGate.cpp b/src/LoRa_APRS_iGate.cpp index 505ba228..1db8b559 100644 --- a/src/LoRa_APRS_iGate.cpp +++ b/src/LoRa_APRS_iGate.cpp @@ -48,7 +48,7 @@ ___________________________________________________________________*/ #include "A7670_utils.h" #endif -String versionDate = "2024.12.06"; +String versionDate = "2024.12.30"; Configuration Config; WiFiClient espClient; #ifdef HAS_GPS diff --git a/src/utils.cpp b/src/utils.cpp index 5d764054..9fdde86e 100644 --- a/src/utils.cpp +++ b/src/utils.cpp @@ -186,7 +186,7 @@ namespace Utils { void checkBeaconInterval() { uint32_t lastTx = millis() - lastBeaconTx; - if (passcodeValid && (lastBeaconTx == 0 || lastTx >= Config.beacon.interval * 60 * 1000)) { + if (((Config.aprs_is.active && passcodeValid) || Config.digi.mode != 0) && (lastBeaconTx == 0 || lastTx >= Config.beacon.interval * 60 * 1000)) { beaconUpdate = true; }