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

Adding compander

This commit is contained in:
OneOfEleven
2023-09-15 10:57:26 +01:00
parent 2fe8cd3757
commit cc36482580
16 changed files with 113 additions and 32 deletions

View File

@ -63,6 +63,9 @@ const char MenuList[][7] =
"STE",
"RP-STE",
"Mic",
#ifdef ENABLE_COMPANDER
"Compnd",
#endif
"1-Call",
"S-List",
"SList1",
@ -100,7 +103,7 @@ const char MenuList[][7] =
"350-EN", // was "350EN"
"SCR-EN", // was "SCREN"
"" // indicate end of list
"" // end of list
};
#if 0
@ -315,7 +318,7 @@ void UI_DisplayMenu(void)
sprintf(String, "+%u.%01udB", mic / 2, mic % 2);
}
break;
case MENU_STEP:
sprintf(String, "%u.%02uKHz", gSubMenu_Step[gSubMenuSelection] / 100, gSubMenu_Step[gSubMenuSelection] % 100);
break;
@ -410,6 +413,9 @@ void UI_DisplayMenu(void)
strcpy(String, (gSubMenuSelection == 0) ? "OFF" : "AUTO");
break;
#ifdef ENABLE_COMPANDER
case MENU_COMPAND:
#endif
case MENU_BCL:
case MENU_BEEP:
case MENU_S_ADD1:

View File

@ -53,6 +53,9 @@ enum
MENU_STE,
MENU_RP_STE,
MENU_MIC,
#ifdef ENABLE_COMPANDER
MENU_COMPAND,
#endif
MENU_1_CALL,
MENU_S_LIST,
MENU_SLIST1,