small beacon bug fix

nousb
Piotr Wilkon 2023-08-29 10:17:41 +02:00
rodzic 06a55e5143
commit a48d8cc540
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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