mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-03-21 04:35:33 +01:00
digirepeater Beacon fixed
This commit is contained in:
parent
f3e0830473
commit
ffcfc42b8a
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue