digirepeater Beacon fixed

This commit is contained in:
richonguzman 2024-12-30 18:02:20 -03:00
parent f3e0830473
commit ffcfc42b8a
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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;
}