0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-19 22:58:04 +03:00
This commit is contained in:
OneOfEleven
2023-11-09 05:59:50 +00:00
parent 5c17a33e3c
commit b704e7efa3
18 changed files with 164 additions and 120 deletions

View File

@ -120,14 +120,14 @@ void UI_DisplayFM(void)
const uint32_t freq = g_eeprom.config.setting.fm_radio.selected_frequency;
NUMBER_ToDigits(freq * 10000, str);
#ifdef ENABLE_TRIM_TRAILING_ZEROS
UI_DisplayFrequency(str, 30, 4, false, true);
UI_DisplayFrequencyBig(str, 30, 4, false, true, 6);
#else
UI_DisplayFrequency(str, 23, 4, false, true);
UI_DisplayFrequencyBig(str, 23, 4, false, true, 6);
#endif
}
else
{ // user is entering a frequency
UI_DisplayFrequency(g_input_box, 23, 4, true, false);
UI_DisplayFrequencyBig(g_input_box, 23, 4, true, false, 6);
}
}
else