0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-18 22:29:50 +03:00

single VFO display update

This commit is contained in:
OneOfEleven
2023-12-01 10:34:53 +00:00
parent 9819afa405
commit ff2248b287
10 changed files with 271 additions and 290 deletions

View File

@ -2085,18 +2085,15 @@ void APP_time_slice_500ms(void)
#ifdef ENABLE_DTMF_LIVE_DECODER
if (g_dtmf_rx_live_timeout > 0)
{
#ifdef ENABLE_RX_SIGNAL_BAR
if (g_center_line == CENTER_LINE_DTMF_DEC ||
g_center_line == CENTER_LINE_NONE) // wait till the center line is free for us to use before timing out
#endif
if (g_center_line == CENTER_LINE_DTMF_DEC ||
g_center_line == CENTER_LINE_NONE) // wait till the center line is free for us to use before timing out
if (--g_dtmf_rx_live_timeout == 0)
{
if (--g_dtmf_rx_live_timeout == 0)
if (g_dtmf_rx_live[0] != 0)
{
if (g_dtmf_rx_live[0] != 0)
{
memset(g_dtmf_rx_live, 0, sizeof(g_dtmf_rx_live));
g_update_display = true;
}
memset(g_dtmf_rx_live, 0, sizeof(g_dtmf_rx_live));
g_update_display = true;
}
}
}

View File

@ -239,9 +239,7 @@ int MENU_GetLimits(uint8_t Cursor, int32_t *pMin, int32_t *pMax)
#ifdef ENABLE_TX_AUDIO_BAR
case MENU_TX_BAR:
#endif
#ifdef ENABLE_RX_SIGNAL_BAR
case MENU_RX_BAR:
#endif
case MENU_RX_BAR:
case MENU_BUSY_CHAN_LOCK:
case MENU_BEEP:
#ifdef ENABLE_KEYLOCK
@ -706,11 +704,9 @@ void MENU_AcceptSetting(void)
break;
#endif
#ifdef ENABLE_RX_SIGNAL_BAR
case MENU_RX_BAR:
g_eeprom.config.setting.enable_rssi_bar = g_sub_menu_selection;
break;
#endif
case MENU_RX_BAR:
g_eeprom.config.setting.enable_rssi_bar = g_sub_menu_selection;
break;
case MENU_COMPAND:
g_tx_vfo->channel.compand = g_sub_menu_selection;
@ -1223,11 +1219,9 @@ void MENU_ShowCurrentSetting(void)
break;
#endif
#ifdef ENABLE_RX_SIGNAL_BAR
case MENU_RX_BAR:
g_sub_menu_selection = g_eeprom.config.setting.enable_rssi_bar;
break;
#endif
case MENU_RX_BAR:
g_sub_menu_selection = g_eeprom.config.setting.enable_rssi_bar;
break;
case MENU_COMPAND:
g_sub_menu_selection = g_tx_vfo->channel.compand;