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

Scrambler inversion frequencies shown in menu

This commit is contained in:
OneOfEleven
2023-09-26 16:48:16 +01:00
parent cb92f2e098
commit ee05c4f075
12 changed files with 112 additions and 76 deletions

View File

@ -291,6 +291,21 @@ const char gSubMenu_BAT_TXT[3][8] =
"PERCENT"
};
const char gSubMenu_SCRAMBLER[11][7] =
{
"OFF",
"2600Hz",
"2700Hz",
"2800Hz",
"2900Hz",
"3000Hz",
"3100Hz",
"3200Hz",
"3300Hz",
"3400Hz",
"3500Hz"
};
bool gIsInSubMenu;
uint8_t gMenuCursor;
int8_t gMenuScrollDirection;
@ -421,6 +436,9 @@ void UI_DisplayMenu(void)
break;
case MENU_SCR:
strcpy(String, gSubMenu_SCRAMBLER[gSubMenuSelection]);
break;
case MENU_VOX:
if (gSubMenuSelection == 0)
strcpy(String, "OFF");

View File

@ -146,6 +146,8 @@ extern const char gSubMenu_BACKLIGHT[8][7];
extern const char gSubMenu_AM_fix_test1[4][8];
#endif
extern const char gSubMenu_BAT_TXT[3][8];
extern const char gSubMenu_SCRAMBLER[11][7];
extern bool gIsInSubMenu;