0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-08-03 01:26:33 +03:00

5kHz FM deviation adjustment

This commit is contained in:
OneOfEleven
2023-11-29 21:48:02 +00:00
parent 40ebe60cee
commit b49e464b7e
5 changed files with 11 additions and 5 deletions

View File

@@ -1586,6 +1586,12 @@ static void MENU_Key_0_to_9(key_code_t Key, bool key_pressed, bool key_held)
{
g_sub_menu_selection = INPUTBOX_value(); // get the current value from the input box
#ifdef ENABLE_FM_DEV_CAL_MENU
if (g_current_function == FUNCTION_TRANSMIT)
if (g_menu_cursor == MENU_TX_FM_DEV_CAL_N || g_menu_cursor == MENU_TX_FM_DEV_CAL_W)
BK4819_set_TX_deviation(g_sub_menu_selection);
#endif
if (g_input_box_index < 4)
{ // not yet enough characters
#ifdef ENABLE_VOICE