Add Squelch Level

This commit is contained in:
Armel FAUVEAU
2024-02-06 19:12:47 +01:00
parent 0b3cc6cbcf
commit b0e4a05d78

View File

@@ -801,8 +801,8 @@ void UI_DisplayMain(void)
// show the frequency in the main font // show the frequency in the main font
UI_PrintString(String, 32, 0, line + 3, 8); UI_PrintString(String, 32, 0, line + 3, 8);
} }
sprintf(String, "SQL %d", gEeprom.SQUELCH_LEVEL); //sprintf(String, "SQL %d", gEeprom.SQUELCH_LEVEL);
UI_PrintStringSmallNormal(String, 46, 0, 6); //UI_PrintStringSmallNormal(String, 46, 0, 6);
} }
else else
{ {
@@ -925,9 +925,17 @@ void UI_DisplayMain(void)
UI_PrintStringSmallNormal("DTMF", LCD_WIDTH + 78, 0, line + 1); UI_PrintStringSmallNormal("DTMF", LCD_WIDTH + 78, 0, line + 1);
#endif #endif
#ifndef ENABLE_FEAT_F4HWN
// show the audio scramble symbol // show the audio scramble symbol
if (vfoInfo->SCRAMBLING_TYPE > 0 && gSetting_ScrambleEnable) if (vfoInfo->SCRAMBLING_TYPE > 0 && gSetting_ScrambleEnable)
UI_PrintStringSmallNormal("SCR", LCD_WIDTH + 106, 0, line + 1); 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 #ifdef ENABLE_AGC_SHOW_DATA