Add SetMet to set meter
This commit is contained in:
11
ui/menu.c
11
ui/menu.c
@@ -133,6 +133,7 @@ const t_menu_item MenuList[] =
|
||||
{"SetCtr", VOICE_ID_INVALID, MENU_SET_CTR },
|
||||
{"SetInv", VOICE_ID_INVALID, MENU_SET_INV },
|
||||
{"SetLck", VOICE_ID_INVALID, MENU_SET_LCK },
|
||||
{"SetMet", VOICE_ID_INVALID, MENU_SET_MET },
|
||||
#endif
|
||||
// hidden menu items from here on
|
||||
// enabled if pressing both the PTT and upper side button at power-on
|
||||
@@ -377,6 +378,12 @@ const char gSubMenu_SCRAMBLER[][7] =
|
||||
"KEYS",
|
||||
"KEYS+PTT"
|
||||
};
|
||||
|
||||
const char gSubMenu_SET_MET[][8] =
|
||||
{
|
||||
"TINY",
|
||||
"CLASSIC"
|
||||
};
|
||||
#endif
|
||||
|
||||
const t_sidefunction gSubMenu_SIDEFUNCTIONS[] =
|
||||
@@ -933,6 +940,10 @@ void UI_DisplayMenu(void)
|
||||
case MENU_SET_LCK:
|
||||
strcpy(String, gSubMenu_SET_LCK[gSubMenuSelection]);
|
||||
break;
|
||||
|
||||
case MENU_SET_MET:
|
||||
strcpy(String, gSubMenu_SET_MET[gSubMenuSelection]);
|
||||
break;
|
||||
#endif
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user