From b4b27cb2093038cd007e301df182ec90f62d933a Mon Sep 17 00:00:00 2001 From: Armel FAUVEAU Date: Tue, 25 Jun 2024 00:46:39 +0200 Subject: [PATCH] Add exclude feature on LIST3 and ALL IN LIST --- app/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/main.c b/app/main.c index 630300f..b7fa4b5 100644 --- a/app/main.c +++ b/app/main.c @@ -568,7 +568,8 @@ static void MAIN_Key_MENU(bool bKeyPressed, bool bKeyHeld) if (bKeyPressed) { // long press MENU key #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()) {