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

lots more step sizes added, though the QS config software will only use the original 7 step sizes.

This commit is contained in:
OneOfEleven
2023-10-18 16:17:41 +01:00
parent 2e880a61e1
commit ce4528b4ee
12 changed files with 160 additions and 171 deletions

View File

@ -393,7 +393,7 @@ void MENU_AcceptSetting(void)
break;
case MENU_STEP:
g_tx_vfo->step_setting = g_sub_menu_selection;
g_tx_vfo->step_setting = step_freq_table_sorted[g_sub_menu_selection];
if (IS_FREQ_CHANNEL(g_tx_vfo->channel_save))
{
g_request_save_channel = 1;
@ -935,9 +935,9 @@ void MENU_ShowCurrentSetting(void)
break;
case MENU_STEP:
g_sub_menu_selection = g_tx_vfo->step_setting;
g_sub_menu_selection = FREQUENCY_get_step_index(STEP_FREQ_TABLE[g_tx_vfo->step_setting]);
break;
case MENU_TX_POWER:
g_sub_menu_selection = g_tx_vfo->output_power;
break;