mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-04-05 14:37:05 +00:00
feat: send beacon and reboot buttons
This commit is contained in:
parent
67e1c528f3
commit
5337cb2d46
5 changed files with 66 additions and 9 deletions
|
|
@ -93,7 +93,7 @@ namespace Utils {
|
|||
uint32_t lastTx = millis() - lastBeaconTx;
|
||||
String beaconPacket, secondaryBeaconPacket;
|
||||
|
||||
if (lastTx >= Config.beacon.interval*60*1000) {
|
||||
if (lastBeaconTx == 0 || lastTx >= Config.beacon.interval*60*1000) {
|
||||
beaconUpdate = true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue