Revert buggy fix #152

This commit is contained in:
Armel FAUVEAU
2024-07-08 06:00:42 +02:00
parent 3e8d22712c
commit f741195672

View File

@@ -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;