From f7411956721eda13a3c54a5e46b73c7065628fc3 Mon Sep 17 00:00:00 2001 From: Armel FAUVEAU Date: Mon, 8 Jul 2024 06:00:42 +0200 Subject: [PATCH] Revert buggy fix #152 --- app/spectrum.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/spectrum.c b/app/spectrum.c index 3edecc0..1d4e596 100644 --- a/app/spectrum.c +++ b/app/spectrum.c @@ -671,7 +671,7 @@ static void Blacklist() { #ifdef ENABLE_SCAN_RANGES static bool IsBlacklisted(uint16_t idx) { - if(blacklistFreqs[0]) // cheaper than checking blacklistFreqsIdx + if(blacklistFreqsIdx) for(uint8_t i = 0; i < ARRAY_SIZE(blacklistFreqs); i++) if(blacklistFreqs[i] == idx) return true;