Update beacon.c

Small bug in beacon.c. 
If beacon for example 4 is turned off, beacons 4,5,6,7 do not work. 
The fix fixes the problem.
vy73
SQ9KCU
pull/15/head
osiemk 2023-07-12 23:55:11 +02:00 zatwierdzone przez GitHub
rodzic 4ea7127c09
commit dc834b9cac
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -112,7 +112,7 @@ void Beacon_check(void)
for(uint8_t i = 0; i < 8; i++)
{
if(beacon[i].enable == 0)
return;
continue;
if((beacon[i].interval > 0) && ((ticks >= beacon[i].next) || (beacon[i].next == 0)))
{