Improve exclude feature

This commit is contained in:
Armel FAUVEAU
2024-07-25 04:56:50 +02:00
parent 921fd983d6
commit a271d847c3
5 changed files with 8 additions and 6 deletions

View File

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