Add exclude feature on LIST3 and ALL IN LIST

This commit is contained in:
Armel FAUVEAU
2024-06-25 00:46:39 +02:00
parent acd7a6141b
commit b4b27cb209

View File

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