diff --git a/app/menu.c b/app/menu.c index 3cfa420..f6e39e2 100644 --- a/app/menu.c +++ b/app/menu.c @@ -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 diff --git a/firmware.bin b/firmware.bin index 967339d..41beee0 100644 Binary files a/firmware.bin and b/firmware.bin differ diff --git a/firmware.packed.bin b/firmware.packed.bin index 2944826..445693d 100644 Binary files a/firmware.packed.bin and b/firmware.packed.bin differ diff --git a/misc.c b/misc.c index 048e3eb..b253a66 100644 --- a/misc.c +++ b/misc.c @@ -50,7 +50,7 @@ const uint8_t key_input_timeout_500ms = 6000 / 500; // 6 sec const uint8_t key_debounce_10ms = 30 / 10; // 30ms const uint8_t key_side_long_press_10ms = 1000 / 10; // 1 second const uint8_t key_long_press_10ms = 320 / 10; // 320ms -const uint8_t key_repeat_initial_10ms = 320 / 10; // 320ms +const uint8_t key_repeat_initial_10ms = 200 / 10; // 200ms const uint8_t key_repeat_fastest_10ms = 10 / 10; // 10ms const uint16_t key_repeat_speedup_10ms = 2500 / 10; // speed-up key repeat once every 2.5 seconds diff --git a/settings.h b/settings.h index 84d4b77..fac17a8 100644 --- a/settings.h +++ b/settings.h @@ -27,11 +27,11 @@ enum { FM_DEV_LIMIT_LOWER_NARROW = 700, FM_DEV_LIMIT_DEFAULT_NARROW = 900, - FM_DEV_LIMIT_UPPER_NARROW = 1100, + FM_DEV_LIMIT_UPPER_NARROW = 1500, // 1100 - FM_DEV_LIMIT_LOWER_WIDE = 950, - FM_DEV_LIMIT_DEFAULT_WIDE = 1250, - FM_DEV_LIMIT_UPPER_WIDE = 1500 + FM_DEV_LIMIT_LOWER_WIDE = 900, + FM_DEV_LIMIT_DEFAULT_WIDE = 1283, + FM_DEV_LIMIT_UPPER_WIDE = 1600 }; enum mod_mode_e {