0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-04-28 22:31:25 +03:00

fix compile problem

This commit is contained in:
OneOfEleven 2023-11-06 16:56:04 +00:00
parent 88141810cb
commit e55690fe65

View File

@ -719,7 +719,9 @@ void UI_DisplayMain(void)
big_freq(frequency, x, line);
#else
const unsigned int chan = g_vfo_info[vfo_num].freq_in_channel;
#ifdef ENABLE_SHOW_FREQS_CHAN
const unsigned int chan = g_vfo_info[vfo_num].freq_in_channel;
#endif
sprintf(str, "%03u.%05u", frequency / 100000, frequency % 100000);
#ifdef ENABLE_TRIM_TRAILING_ZEROS