Add SetLck

This commit is contained in:
Armel FAUVEAU
2024-02-11 03:47:31 +01:00
parent 2307976c17
commit d6a57be4c4
8 changed files with 46 additions and 1 deletions

View File

@@ -132,6 +132,7 @@ const t_menu_item MenuList[] =
{"SetEot", VOICE_ID_INVALID, MENU_SET_EOT },
{"SetCtr", VOICE_ID_INVALID, MENU_SET_CTR },
{"SetInv", VOICE_ID_INVALID, MENU_SET_INV },
{"SetLck", VOICE_ID_INVALID, MENU_SET_LCK },
#endif
// hidden menu items from here on
// enabled if pressing both the PTT and upper side button at power-on
@@ -370,6 +371,12 @@ const char gSubMenu_SCRAMBLER[][7] =
"VISUAL",
"ALL"
};
const char gSubMenu_SET_LCK[][9] =
{
"KEYS",
"KEYS+PTT"
};
#endif
const t_sidefunction gSubMenu_SIDEFUNCTIONS[] =
@@ -922,6 +929,10 @@ void UI_DisplayMenu(void)
strcpy(String, gSubMenu_OFF_ON[gSubMenuSelection]);
ST7565_ContrastAndInv();
break;
case MENU_SET_LCK:
strcpy(String, gSubMenu_SET_LCK[gSubMenuSelection]);
break;
#endif
}