0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-04-28 06:11:24 +03:00

panadapter update

This commit is contained in:
OneOfEleven 2023-11-19 23:58:27 +00:00
parent 34c80a6805
commit af3cfac687
4 changed files with 8 additions and 8 deletions

Binary file not shown.

Binary file not shown.

View File

@ -68,7 +68,6 @@ void PAN_process_10ms(void)
// g_single_vfo < 0 ||
g_reduced_service ||
g_monitor_enabled ||
g_current_function == FUNCTION_TRANSMIT ||
g_current_function == FUNCTION_POWER_SAVE ||
g_current_display_screen == DISPLAY_SEARCH ||
g_css_scan_mode != CSS_SCAN_MODE_OFF ||
@ -94,6 +93,9 @@ void PAN_process_10ms(void)
return;
}
if (g_current_function == FUNCTION_TRANSMIT)
return;
if (!g_panadapter_enabled)
{ // enable the panadapter

View File

@ -421,7 +421,7 @@ void big_freq(const uint32_t frequency, const unsigned int x, const unsigned int
!g_panadapter_enabled ||
single_vfo < 0 ||
g_current_display_screen != DISPLAY_MAIN ||
g_current_function == FUNCTION_TRANSMIT ||
// g_current_function == FUNCTION_TRANSMIT ||
g_current_function == FUNCTION_POWER_SAVE ||
g_monitor_enabled)
{ // don't draw the panadapter
@ -548,12 +548,10 @@ void UI_DisplayMain(void)
#ifdef ENABLE_PANADAPTER
if (g_eeprom.config.setting.dual_watch == DUAL_WATCH_OFF && g_eeprom.config.setting.cross_vfo == CROSS_BAND_OFF)
if (g_eeprom.config.setting.panadapter && g_panadapter_enabled)
//if (!g_squelch_open && !g_monitor_enabled)
if (!g_monitor_enabled)
if (g_dtmf_call_state == DTMF_CALL_STATE_NONE && !g_dtmf_is_tx && !g_dtmf_input_mode)
// if (g_input_box_index == 0)
single_vfo = g_eeprom.config.setting.tx_vfo_num;
if (g_dtmf_call_state == DTMF_CALL_STATE_NONE && !g_dtmf_is_tx && !g_dtmf_input_mode)
if (g_eeprom.config.setting.panadapter && g_panadapter_enabled)
if (!g_monitor_enabled)
single_vfo = g_eeprom.config.setting.tx_vfo_num;
#endif
for (vfo_num = 0; vfo_num < 2; vfo_num++)