From a48d8cc540f30eca6d178b5980c58df837acc87c Mon Sep 17 00:00:00 2001 From: Piotr Wilkon Date: Tue, 29 Aug 2023 10:17:41 +0200 Subject: [PATCH] small beacon bug fix --- Src/beacon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/beacon.c b/Src/beacon.c index 1503ba1..569518d 100644 --- a/Src/beacon.c +++ b/Src/beacon.c @@ -117,7 +117,7 @@ void Beacon_check(void) if((beacon[i].interval > 0) && ((ticks >= beacon[i].next) || (beacon[i].next == 0))) { if(beaconDelay[i] > ticks) //check for beacon delay (only for the very first transmission) - return; + continue; beacon[i].next = ticks + beacon[i].interval; //save next beacon timestamp beaconDelay[i] = 0; Beacon_send(i);