0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-20 06:58:39 +03:00

Added 30 sec TX timeout option

This commit is contained in:
OneOfEleven
2023-09-28 17:39:45 +01:00
parent 81bc398908
commit 618d6962ff
14 changed files with 105 additions and 67 deletions

View File

@ -166,6 +166,21 @@ const char gSubMenu_SAVE[5][4] =
"1:4"
};
const char gSubMenu_TOT[11][7] =
{
"OFF",
"30 sec",
"1 min",
"2 min",
"3 min",
"4 min",
"5 min",
"6 min",
"7 min",
"8 min",
"9 min"
};
const char gSubMenu_CHAN[3][7] =
{
"OFF",
@ -565,10 +580,7 @@ void UI_DisplayMenu(void)
break;
case MENU_TOT:
if (gSubMenuSelection == 0)
strcpy(String, "OFF");
else
sprintf(String, "%dmin", gSubMenuSelection);
strcpy(String, gSubMenu_TOT[gSubMenuSelection]);
break;
#ifdef ENABLE_VOICE