From ff9308b47c46d77744e3a3c3f0a2f5fa1e1390cc Mon Sep 17 00:00:00 2001 From: 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 Date: Thu, 25 Jul 2024 09:54:51 -0700 Subject: [PATCH 1/2] yoink. https://github.com/armel/uv-k5-firmware-custom/commit/ec2c470a902a3cf35217ca6e9d7b78c37f75ea40 --- settings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings.c b/settings.c index 1b5f5d9a4..18c5c85b6 100644 --- a/settings.c +++ b/settings.c @@ -227,7 +227,7 @@ void SETTINGS_InitEEPROM(void) // 0F18..0F1F EEPROM_ReadBuffer(0x0F18, Data, 8); - gEeprom.SCAN_LIST_DEFAULT = (Data[0] < 5) ? Data[0] : 0; // we now have 'all' channel scan option + gEeprom.SCAN_LIST_DEFAULT = (Data[0] < 6) ? Data[0] : 0; // we now have 'all' channel scan option for (unsigned int i = 0; i < 3; i++) { const unsigned int j = 1 + (i * 3); From a9b87e405b8eaf23ad7e7132714c790722fae8a1 Mon Sep 17 00:00:00 2001 From: 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 Date: Thu, 25 Jul 2024 19:39:59 -0700 Subject: [PATCH 2/2] small fonts in chdisp freq mode to make room for scanlist indicators --- ui/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/main.c b/ui/main.c index aac9ae056..09f3714fe 100644 --- a/ui/main.c +++ b/ui/main.c @@ -936,7 +936,7 @@ void UI_DisplayMain(void) { case MDF_FREQUENCY: // show the channel frequency sprintf(String, "%3u.%05u", frequency / 100000, frequency % 100000); -#ifdef ENABLE_BIG_FREQ +/*#ifdef ENABLE_BIG_FREQ if(frequency < _1GHz_in_KHz) { // show the remaining 2 small frequency digits UI_PrintStringSmallNormal(String + 7, 113, 0, line + 1); @@ -945,7 +945,7 @@ void UI_DisplayMain(void) UI_DisplayFrequency(String, 32, line, false); } else -#endif +#endif*/ { // show the frequency in the main font UI_PrintString(String, 32, 0, line, 8);