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

Fix something with AM not-fixed

This commit is contained in:
OneOfEleven
2023-09-24 01:58:03 +01:00
parent ad33875b7a
commit 4a46723203
2 changed files with 11 additions and 9 deletions

View File

@ -497,7 +497,7 @@ void UI_DisplayMain(void)
{ // we're free to use the middle empty line for something
#if defined(ENABLE_AM_FIX) && defined(ENABLE_AM_FIX_SHOW_DATA)
if (gEeprom.VfoInfo[gEeprom.RX_CHANNEL].IsAM)
if (gSetting_AM_fix && gEeprom.VfoInfo[gEeprom.RX_CHANNEL].IsAM)
{
switch (gCurrentFunction)
{
@ -514,7 +514,9 @@ void UI_DisplayMain(void)
break;
}
}
#else
else
#endif
{
#ifdef ENABLE_AUDIO_BAR
UI_DisplayAudioBar();
@ -536,7 +538,7 @@ void UI_DisplayMain(void)
#endif
}
}
#endif
}
}
ST7565_BlitFullScreen();