Remove Scrambler

This commit is contained in:
Armel FAUVEAU
2024-02-02 03:15:47 +01:00
parent 0d9320b9d6
commit 4b7dd4bdde
4 changed files with 19 additions and 0 deletions

View File

@@ -257,10 +257,12 @@ int MENU_GetLimits(uint8_t menu_id, int32_t *pMin, int32_t *pMax)
*pMax = ARRAY_SIZE(gModulationStr) - 1;
break;
#ifndef ENABLE_FEAT_F4HWN
case MENU_SCR:
*pMin = 0;
*pMax = ARRAY_SIZE(gSubMenu_SCRAMBLER) - 1;
break;
#endif
case MENU_TOT:
*pMin = 0;
@@ -481,6 +483,7 @@ void MENU_AcceptSetting(void)
gRequestSaveChannel = 1;
return;
#ifndef ENABLE_FEAT_F4HWN
case MENU_SCR:
gTxVfo->SCRAMBLING_TYPE = gSubMenuSelection;
#if 0
@@ -491,6 +494,7 @@ void MENU_AcceptSetting(void)
#endif
gRequestSaveChannel = 1;
return;
#endif
case MENU_BCL:
gTxVfo->BUSY_CHANNEL_LOCK = gSubMenuSelection;
@@ -929,9 +933,11 @@ void MENU_ShowCurrentSetting(void)
gSubMenuSelection = gTxVfo->CHANNEL_BANDWIDTH;
break;
#ifndef ENABLE_FEAT_F4HWN
case MENU_SCR:
gSubMenuSelection = gTxVfo->SCRAMBLING_TYPE;
break;
#endif
case MENU_BCL:
gSubMenuSelection = gTxVfo->BUSY_CHANNEL_LOCK;