Add exclude memory channel

This commit is contained in:
Armel FAUVEAU
2024-03-27 00:07:42 +01:00
parent 8fa42a5ad7
commit 7ab720a52a

View File

@@ -543,6 +543,8 @@ static void MAIN_Key_MENU(const bool bKeyPressed, const bool bKeyHeld)
#ifdef ENABLE_FEAT_F4HWN #ifdef ENABLE_FEAT_F4HWN
if(gScanStateDir != SCAN_OFF) if(gScanStateDir != SCAN_OFF)
{
if(FUNCTION_IsRx())
{ {
gTxVfo->SCANLIST1_PARTICIPATION = 0; gTxVfo->SCANLIST1_PARTICIPATION = 0;
gTxVfo->SCANLIST2_PARTICIPATION = 0; gTxVfo->SCANLIST2_PARTICIPATION = 0;
@@ -557,6 +559,7 @@ static void MAIN_Key_MENU(const bool bKeyPressed, const bool bKeyHeld)
lastFoundFrqOrChan = lastFoundFrqOrChanOld; lastFoundFrqOrChan = lastFoundFrqOrChanOld;
CHFRSCANNER_ContinueScanning(); CHFRSCANNER_ContinueScanning();
}
return; return;
} }