This commit is contained in:
22
app/menu.c
22
app/menu.c
@@ -390,12 +390,6 @@ int MENU_GetLimits(uint8_t menu_id, int32_t *pMin, int32_t *pMax) {
|
||||
//*pMin = 0;
|
||||
*pMax = ARRAY_SIZE(gSubMenu_SET_TOT) - 1;
|
||||
break;
|
||||
#ifdef ENABLE_FEAT_F4HWN_CTR
|
||||
case MENU_SET_CTR:
|
||||
*pMin = 1;
|
||||
*pMax = 15;
|
||||
break;
|
||||
#endif
|
||||
#ifdef ENABLE_FEAT_F4HWN_INV
|
||||
case MENU_SET_INV:
|
||||
//*pMin = 0;
|
||||
@@ -855,17 +849,9 @@ void MENU_AcceptSetting(void) {
|
||||
case MENU_SET_EOT:
|
||||
gSetting_set_eot = gSubMenuSelection;
|
||||
break;
|
||||
#ifdef ENABLE_FEAT_F4HWN_CTR
|
||||
case MENU_SET_CTR:
|
||||
gSetting_set_ctr = gSubMenuSelection;
|
||||
break;
|
||||
#endif
|
||||
case MENU_SET_INV:
|
||||
gSetting_set_inv = gSubMenuSelection;
|
||||
break;
|
||||
case MENU_SET_LCK:
|
||||
gSetting_set_lck = gSubMenuSelection;
|
||||
break;
|
||||
#ifdef ENABLE_FEAT_F4HWN_NARROWER
|
||||
case MENU_SET_NFM:
|
||||
gSetting_set_nfm = gSubMenuSelection;
|
||||
@@ -1262,17 +1248,9 @@ void MENU_ShowCurrentSetting(void) {
|
||||
case MENU_SET_EOT:
|
||||
gSubMenuSelection = gSetting_set_eot;
|
||||
break;
|
||||
#ifdef ENABLE_FEAT_F4HWN_CTR
|
||||
case MENU_SET_CTR:
|
||||
gSubMenuSelection = gSetting_set_ctr;
|
||||
break;
|
||||
#endif
|
||||
case MENU_SET_INV:
|
||||
gSubMenuSelection = gSetting_set_inv;
|
||||
break;
|
||||
case MENU_SET_LCK:
|
||||
gSubMenuSelection = gSetting_set_lck;
|
||||
break;
|
||||
#ifdef ENABLE_FEAT_F4HWN_NARROWER
|
||||
case MENU_SET_NFM:
|
||||
gSubMenuSelection = gSetting_set_nfm;
|
||||
|
Reference in New Issue
Block a user