From 94e355087bf0782c52ee4b850dd8bc88f175bbaa Mon Sep 17 00:00:00 2001 From: osiemk <37952651+osiemk@users.noreply.github.com> Date: Thu, 13 Jul 2023 00:03:07 +0200 Subject: [PATCH] small bug in 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 --- Src/beacon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/beacon.c b/Src/beacon.c index bdb5ff9..4587243 100644 --- a/Src/beacon.c +++ b/Src/beacon.c @@ -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))) {