0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-08-03 09:36:32 +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

View File

@@ -123,6 +123,7 @@ extern const char gSubMenu_SFT_D[3][4];
extern const char gSubMenu_W_N[2][7];
extern const char gSubMenu_OFF_ON[2][4];
extern const char gSubMenu_SAVE[5][4];
extern const char gSubMenu_TOT[11][7];
extern const char gSubMenu_CHAN[3][7];
#ifdef ENABLE_VOICE
extern const char gSubMenu_VOICE[3][4];