From b0e4a05d783b717eaa35c1d48b611c71ce54b72e Mon Sep 17 00:00:00 2001 From: Armel FAUVEAU Date: Tue, 6 Feb 2024 19:12:47 +0100 Subject: [PATCH] Add Squelch Level --- ui/main.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/ui/main.c b/ui/main.c index b12157e..09a7433 100644 --- a/ui/main.c +++ b/ui/main.c @@ -801,8 +801,8 @@ void UI_DisplayMain(void) // show the frequency in the main font UI_PrintString(String, 32, 0, line + 3, 8); } - sprintf(String, "SQL %d", gEeprom.SQUELCH_LEVEL); - UI_PrintStringSmallNormal(String, 46, 0, 6); + //sprintf(String, "SQL %d", gEeprom.SQUELCH_LEVEL); + //UI_PrintStringSmallNormal(String, 46, 0, 6); } else { @@ -925,9 +925,17 @@ void UI_DisplayMain(void) UI_PrintStringSmallNormal("DTMF", LCD_WIDTH + 78, 0, line + 1); #endif +#ifndef ENABLE_FEAT_F4HWN // show the audio scramble symbol if (vfoInfo->SCRAMBLING_TYPE > 0 && gSetting_ScrambleEnable) UI_PrintStringSmallNormal("SCR", LCD_WIDTH + 106, 0, line + 1); +#endif + +#ifdef ENABLE_FEAT_F4HWN + sprintf(String, "SQL %d", gEeprom.SQUELCH_LEVEL); + UI_PrintStringSmallNormal(String, LCD_WIDTH + 78, 0, line + 1); +#endif + } #ifdef ENABLE_AGC_SHOW_DATA