mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-06-19 06:39:49 +03:00
Fix "TX BAR" and compander - hopefully
This commit is contained in:
@ -649,7 +649,7 @@ void UI_DisplayMain(void)
|
||||
if (attributes & USER_CH_SCANLIST2)
|
||||
memmove(p_line0 + 120, BITMAP_SCANLIST2, sizeof(BITMAP_SCANLIST2));
|
||||
#ifndef ENABLE_BIG_FREQ
|
||||
if ((attributes & USER_CH_COMPAND) > 0)
|
||||
if (g_eeprom.vfo_info[vfo_num].compand)
|
||||
memmove(p_line0 + 120 + LCD_WIDTH, BITMAP_COMPAND, sizeof(BITMAP_COMPAND));
|
||||
#else
|
||||
|
||||
@ -727,8 +727,8 @@ void UI_DisplayMain(void)
|
||||
#endif
|
||||
|
||||
// show the channel symbols
|
||||
const uint8_t attributes = g_user_channel_attributes[g_eeprom.screen_channel[vfo_num]];
|
||||
if ((attributes & USER_CH_COMPAND) > 0)
|
||||
//const uint8_t attributes = g_user_channel_attributes[g_eeprom.screen_channel[vfo_num]];
|
||||
if (g_eeprom.vfo_info[vfo_num].compand)
|
||||
#ifdef ENABLE_BIG_FREQ
|
||||
memmove(p_line0 + 120, BITMAP_COMPAND, sizeof(BITMAP_COMPAND));
|
||||
#else
|
||||
|
@ -86,10 +86,10 @@ const t_menu_item g_menu_list[] =
|
||||
{"MIC GN", VOICE_ID_INVALID, MENU_MIC },
|
||||
{"COMPND", VOICE_ID_INVALID, MENU_COMPAND },
|
||||
#ifdef ENABLE_AUDIO_BAR
|
||||
{"Tx BAR", VOICE_ID_INVALID, MENU_MIC_BAR },
|
||||
{"Tx BAR", VOICE_ID_INVALID, MENU_TX_BAR },
|
||||
#endif
|
||||
#ifdef ENABLE_RSSI_BAR
|
||||
{"Rx BAR", VOICE_ID_INVALID, MENU_RSSI_BAR },
|
||||
{"Rx BAR", VOICE_ID_INVALID, MENU_RX_BAR },
|
||||
#endif
|
||||
{"1 CALL", VOICE_ID_INVALID, MENU_1_CALL },
|
||||
{"SLIST", VOICE_ID_INVALID, MENU_S_LIST },
|
||||
@ -709,10 +709,10 @@ void UI_DisplayMenu(void)
|
||||
break;
|
||||
|
||||
#ifdef ENABLE_AUDIO_BAR
|
||||
case MENU_MIC_BAR:
|
||||
case MENU_TX_BAR:
|
||||
#endif
|
||||
#ifdef ENABLE_RSSI_BAR
|
||||
case MENU_RSSI_BAR:
|
||||
case MENU_RX_BAR:
|
||||
#endif
|
||||
#ifdef ENABLE_AM_FIX
|
||||
case MENU_AM_FIX:
|
||||
|
Reference in New Issue
Block a user