Browse Source

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 2 years ago
committed by GitHub
parent
commit
dc834b9cac
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Src/beacon.c

+ 1
- 1
Src/beacon.c View File

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


Loading…
Cancel
Save