Skip to content

Commit

Permalink
digirepeater Beacon fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
richonguzman committed Dec 30, 2024
1 parent f3e0830 commit ffcfc42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/LoRa_APRS_iGate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit ffcfc42

Please sign in to comment.