Add SetInv menu
This commit is contained in:
@@ -130,6 +130,7 @@ const t_menu_item MenuList[] =
|
||||
{"SetPtt", VOICE_ID_INVALID, MENU_SET_PTT },
|
||||
{"SetTot", VOICE_ID_INVALID, MENU_SET_TOT },
|
||||
{"SetCtr", VOICE_ID_INVALID, MENU_SET_CTR },
|
||||
{"SetInv", VOICE_ID_INVALID, MENU_SET_INV },
|
||||
#endif
|
||||
// hidden menu items from here on
|
||||
// enabled if pressing both the PTT and upper side button at power-on
|
||||
@@ -683,9 +684,9 @@ void UI_DisplayMenu(void)
|
||||
case MENU_350EN:
|
||||
#ifndef ENABLE_FEAT_F4HWN
|
||||
case MENU_SCREN:
|
||||
#endif
|
||||
strcpy(String, gSubMenu_OFF_ON[gSubMenuSelection]);
|
||||
break;
|
||||
#endif
|
||||
|
||||
case MENU_MEM_CH:
|
||||
case MENU_1_CALL:
|
||||
@@ -911,6 +912,11 @@ void UI_DisplayMenu(void)
|
||||
gSetting_set_ctr = gSubMenuSelection;
|
||||
ST7565_Contrast();
|
||||
break;
|
||||
|
||||
case MENU_SET_INV:
|
||||
strcpy(String, gSubMenu_OFF_ON[gSubMenuSelection]);
|
||||
ST7565_Contrast();
|
||||
break;
|
||||
#endif
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user