From 92e28b31becd2739e80dddfb6e37d6dd865cd420 Mon Sep 17 00:00:00 2001 From: Mikhail Yudin Date: Thu, 21 Sep 2023 00:56:06 +0700 Subject: [PATCH] fix: sync with upstream --- ui/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/main.c b/ui/main.c index b716c17..64407ef 100644 --- a/ui/main.c +++ b/ui/main.c @@ -230,6 +230,7 @@ void UI_DisplayMain(void) if (gInputBoxIndex && IS_FREQ_CHANNEL(gEeprom.ScreenChannel[i]) && gEeprom.TX_CHANNEL == i) { UI_DisplayFrequency(gInputBox, 31, i * 4, true, false); } else { + uint32_t frequency = gEeprom.VfoInfo[i].pRX->Frequency; if (!IS_MR_CHANNEL(gEeprom.ScreenChannel[i]) || gEeprom.CHANNEL_DISPLAY_MODE == MDF_FREQUENCY) { if (gCurrentFunction == FUNCTION_TRANSMIT) { if (gEeprom.CROSS_BAND_RX_TX == CROSS_BAND_OFF) { @@ -257,7 +258,6 @@ void UI_DisplayMain(void) memcpy(pLine0 + 120, BITMAP_ScanList, sizeof(BITMAP_ScanList)); } } - UI_DisplaySmallDigits(2, String + 6, 112, Line + 1); } else if (gEeprom.CHANNEL_DISPLAY_MODE == MDF_CHANNEL) { sprintf(String, "CH-%03d", gEeprom.ScreenChannel[i] + 1); UI_PrintString(String, 31, 112, i * 4, 8, true);