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

reduce FM radio compile size if only 1 band used

This commit is contained in:
OneOfEleven
2023-10-30 12:31:36 +00:00
parent c03ac606f1
commit 9a7e03ced5
7 changed files with 58 additions and 44 deletions

View File

@ -346,7 +346,8 @@ void ACTION_Scan(bool bRestart)
if (g_current_function != FUNCTION_TRANSMIT)
{
if (g_fm_radio_mode)
{
{ // return normal service
FM_TurnOff();
g_input_box_index = 0;
@ -359,6 +360,8 @@ void ACTION_Scan(bool bRestart)
return;
}
// switch to FM radio mode
g_monitor_enabled = false;
RADIO_select_vfos();