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

Compander update

This commit is contained in:
OneOfEleven
2023-09-16 09:10:10 +01:00
parent 863d9c55a7
commit 00fe1de467
10 changed files with 42 additions and 24 deletions

View File

@ -245,6 +245,15 @@ const char gSubMenu_F_LOCK[6][4] =
"438"
};
#ifdef ENABLE_COMPANDER
const char gSubMenu_Compand[3][6] =
{
"OFF",
"TX",
"TX/RX"
};
#endif
bool gIsInSubMenu;
uint8_t gMenuCursor;
int8_t gMenuScrollDirection;
@ -405,7 +414,10 @@ void UI_DisplayMenu(void)
#ifdef ENABLE_COMPANDER
case MENU_COMPAND:
strcpy(String, gSubMenu_Compand[gSubMenuSelection]);
break;
#endif
case MENU_BCL:
case MENU_BEEP:
case MENU_S_ADD1: