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);