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

single VFO mode update

This commit is contained in:
OneOfEleven 2023-11-30 09:16:29 +00:00
parent 854b4c98b7
commit f371a2a16f
3 changed files with 10 additions and 2 deletions

Binary file not shown.

Binary file not shown.

View File

@ -676,7 +676,8 @@ const char *state_list[] = {"", "BUSY", "BAT LOW", "TX DISABLE", "TIMEOUT", "ALA
else else
#endif #endif
*/ { // show the frequency in the main font */ { // show the frequency in the main font
UI_PrintString(str, x + 5, 0, y, 8); // UI_PrintString(str, x + 5, 0, y, 8);
UI_PrintString(str, x + 5, 0, y + 1, 8);
} }
#endif #endif
} }
@ -729,7 +730,14 @@ const char *state_list[] = {"", "BUSY", "BAT LOW", "TX DISABLE", "TIMEOUT", "ALA
#endif #endif
if (is_freq_chan && freq_in_channel <= USER_CHANNEL_LAST) if (is_freq_chan && freq_in_channel <= USER_CHANNEL_LAST)
str[1] = 'F'; // this VFO frequency is also found in a channel { // this VFO frequency is also found in a channel
str[1] = 'F';
// TODO: show the channel name this frequency is found in
}
if (g_vfo_info[vfo_num].channel.compand != COMPAND_OFF) if (g_vfo_info[vfo_num].channel.compand != COMPAND_OFF)
str[2] = 'C'; // compander is enabled str[2] = 'C'; // compander is enabled