mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-06-19 14:48:03 +03:00
fix step and tx power menus
This commit is contained in:
@ -1539,7 +1539,7 @@ void APP_process_flash_light_10ms(void)
|
||||
GPIO_SetBit(&GPIOC->DATA, GPIOC_PIN_FLASHLIGHT);
|
||||
#ifdef ENABLE_FLASH_LIGHT_SOS_TONE
|
||||
if (!g_squelch_open && !g_monitor_enabled && !GPIO_CheckBit(&GPIOC->DATA, GPIOC_PIN_SPEAKER))
|
||||
BK4819_StartTone1(880, 50, true);
|
||||
BK4819_StartTone1(880, 50);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
@ -415,19 +415,16 @@ void MENU_AcceptSetting(void)
|
||||
case MENU_CHAN_SQL:
|
||||
g_tx_vfo->channel.squelch_level = g_sub_menu_selection;
|
||||
g_request_save_channel = 1;
|
||||
g_vfo_configure_mode = VFO_CONFIGURE;
|
||||
return;
|
||||
|
||||
case MENU_STEP:
|
||||
g_tx_vfo->channel.step_setting = step_freq_table_sorted[g_sub_menu_selection];
|
||||
g_request_save_channel = 1;
|
||||
g_vfo_configure_mode = VFO_CONFIGURE_RELOAD;
|
||||
return;
|
||||
|
||||
case MENU_TX_POWER:
|
||||
g_tx_vfo->channel.tx_power = g_sub_menu_selection;
|
||||
g_request_save_channel = 1;
|
||||
g_vfo_configure_mode = VFO_CONFIGURE_RELOAD;
|
||||
return;
|
||||
|
||||
case MENU_TX_CDCSS:
|
||||
|
Reference in New Issue
Block a user