mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-04-28 14:21:25 +03:00
panadapter update
This commit is contained in:
parent
34c80a6805
commit
af3cfac687
BIN
firmware.bin
BIN
firmware.bin
Binary file not shown.
Binary file not shown.
@ -68,7 +68,6 @@ void PAN_process_10ms(void)
|
|||||||
// g_single_vfo < 0 ||
|
// g_single_vfo < 0 ||
|
||||||
g_reduced_service ||
|
g_reduced_service ||
|
||||||
g_monitor_enabled ||
|
g_monitor_enabled ||
|
||||||
g_current_function == FUNCTION_TRANSMIT ||
|
|
||||||
g_current_function == FUNCTION_POWER_SAVE ||
|
g_current_function == FUNCTION_POWER_SAVE ||
|
||||||
g_current_display_screen == DISPLAY_SEARCH ||
|
g_current_display_screen == DISPLAY_SEARCH ||
|
||||||
g_css_scan_mode != CSS_SCAN_MODE_OFF ||
|
g_css_scan_mode != CSS_SCAN_MODE_OFF ||
|
||||||
@ -94,6 +93,9 @@ void PAN_process_10ms(void)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (g_current_function == FUNCTION_TRANSMIT)
|
||||||
|
return;
|
||||||
|
|
||||||
if (!g_panadapter_enabled)
|
if (!g_panadapter_enabled)
|
||||||
{ // enable the panadapter
|
{ // enable the panadapter
|
||||||
|
|
||||||
|
12
ui/main.c
12
ui/main.c
@ -421,7 +421,7 @@ void big_freq(const uint32_t frequency, const unsigned int x, const unsigned int
|
|||||||
!g_panadapter_enabled ||
|
!g_panadapter_enabled ||
|
||||||
single_vfo < 0 ||
|
single_vfo < 0 ||
|
||||||
g_current_display_screen != DISPLAY_MAIN ||
|
g_current_display_screen != DISPLAY_MAIN ||
|
||||||
g_current_function == FUNCTION_TRANSMIT ||
|
// g_current_function == FUNCTION_TRANSMIT ||
|
||||||
g_current_function == FUNCTION_POWER_SAVE ||
|
g_current_function == FUNCTION_POWER_SAVE ||
|
||||||
g_monitor_enabled)
|
g_monitor_enabled)
|
||||||
{ // don't draw the panadapter
|
{ // don't draw the panadapter
|
||||||
@ -548,12 +548,10 @@ void UI_DisplayMain(void)
|
|||||||
|
|
||||||
#ifdef ENABLE_PANADAPTER
|
#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.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_dtmf_call_state == DTMF_CALL_STATE_NONE && !g_dtmf_is_tx && !g_dtmf_input_mode)
|
||||||
//if (!g_squelch_open && !g_monitor_enabled)
|
if (g_eeprom.config.setting.panadapter && g_panadapter_enabled)
|
||||||
if (!g_monitor_enabled)
|
if (!g_monitor_enabled)
|
||||||
if (g_dtmf_call_state == DTMF_CALL_STATE_NONE && !g_dtmf_is_tx && !g_dtmf_input_mode)
|
single_vfo = g_eeprom.config.setting.tx_vfo_num;
|
||||||
// if (g_input_box_index == 0)
|
|
||||||
single_vfo = g_eeprom.config.setting.tx_vfo_num;
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
for (vfo_num = 0; vfo_num < 2; vfo_num++)
|
for (vfo_num = 0; vfo_num < 2; vfo_num++)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user