feat: send beacon and reboot buttons

This commit is contained in:
SQ2CPA 2024-03-19 17:02:42 +01:00
parent 67e1c528f3
commit 5337cb2d46
5 changed files with 66 additions and 9 deletions

View file

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