Scanlist refactoring

This commit is contained in:
Armel FAUVEAU
2024-06-28 22:06:19 +02:00
parent 0110f89cdb
commit 3a61d18ac7
2 changed files with 14 additions and 19 deletions

View File

@@ -558,7 +558,7 @@ static void MAIN_Key_MENU(bool bKeyPressed, bool bKeyHeld)
#ifdef ENABLE_FEAT_F4HWN
// Exclude work with list 1, 2, 3 or all list
if(gScanStateDir != SCAN_OFF && (gEeprom.SCAN_LIST_DEFAULT > 0 || gEeprom.SCAN_LIST_DEFAULT < 5))
if(gScanStateDir != SCAN_OFF && (gEeprom.SCAN_LIST_DEFAULT > 0 && gEeprom.SCAN_LIST_DEFAULT < 5))
{
if(FUNCTION_IsRx())
{