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

Fix channel save problem

This commit is contained in:
OneOfEleven
2023-09-28 22:22:06 +01:00
parent 618d6962ff
commit f0ad919418
12 changed files with 23 additions and 29 deletions

View File

@ -107,8 +107,15 @@
void UI_DisplayMain(void)
{
char String[16];
unsigned int vfo_num;
char String[16];
unsigned int vfo_num;
bool center_line_is_free = true;
// #ifdef SINGLE_VFO_CHAN
// const bool single_vfo = (gEeprom.DUAL_WATCH == DUAL_WATCH_OFF && gEeprom.CROSS_BAND_RX_TX == CROSS_BAND_OFF) ? true : false;
// #else
const bool single_vfo = false;
// #endif
memset(gFrameBuffer, 0, sizeof(gFrameBuffer));
@ -120,14 +127,6 @@ void UI_DisplayMain(void)
return;
}
// #ifdef SINGLE_VFO_CHAN
// const bool single_vfo = (gEeprom.DUAL_WATCH == DUAL_WATCH_OFF && gEeprom.CROSS_BAND_RX_TX == CROSS_BAND_OFF) ? true : false;
// #else
const bool single_vfo = false;
// #endif
bool center_line_is_free = true;
for (vfo_num = 0; vfo_num < 2; vfo_num++)
{
uint8_t Channel = gEeprom.TX_CHANNEL;