Browse Source

small beacon bug fix

nousb
Piotr Wilkon 2 years ago
parent
commit
a48d8cc540
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Src/beacon.c

+ 1
- 1
Src/beacon.c View File

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


Loading…
Cancel
Save