Update beacon.c

Small bug in beacon. 
If beacon np 4 is turned off, beacons 4,5,6,7 do not work. 
The fix fixes the problem.
vy73
SQ9KCU
pull/13/head
osiemk 2023-07-12 11:06:04 +02:00 zatwierdzone przez GitHub
rodzic 2955614eb9
commit 466c3f9a1f
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)))
{