Improve exclude feature

This commit is contained in:
Armel FAUVEAU
2024-07-25 05:24:54 +02:00
parent a271d847c3
commit 0fe97245d8
4 changed files with 47 additions and 28 deletions

View File

@@ -62,7 +62,7 @@ bool RADIO_CheckValidChannel(uint16_t channel, bool checkScanList, uint8_t scanL
const ChannelAttributes_t att = gMR_ChannelAttributes[channel];
if (gMR_ChannelExclude[channel] == true)
if (checkScanList && gMR_ChannelExclude[channel] == true)
return false;
if (att.band > BAND7_470MHz)