mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-04-28 14:21:25 +03:00
I lied, this is the real fix
This commit is contained in:
parent
4cdd17888c
commit
0974b2e0a6
@ -57,8 +57,6 @@ static void MAIN_stop_scan(void)
|
|||||||
void toggle_chan_scanlist(void)
|
void toggle_chan_scanlist(void)
|
||||||
{ // toggle the selected channels scanlist setting
|
{ // toggle the selected channels scanlist setting
|
||||||
|
|
||||||
if (g_scan_state_dir != SCAN_STATE_DIR_OFF)
|
|
||||||
{
|
|
||||||
if (g_screen_to_display != DISPLAY_MAIN ||
|
if (g_screen_to_display != DISPLAY_MAIN ||
|
||||||
!IS_USER_CHANNEL(g_tx_vfo->channel_save) ||
|
!IS_USER_CHANNEL(g_tx_vfo->channel_save) ||
|
||||||
g_current_function == FUNCTION_TRANSMIT ||
|
g_current_function == FUNCTION_TRANSMIT ||
|
||||||
@ -68,14 +66,14 @@ void toggle_chan_scanlist(void)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (g_scan_pause_10ms > 0 &&
|
if (g_scan_state_dir != SCAN_STATE_DIR_OFF &&
|
||||||
|
g_scan_pause_10ms > 0 &&
|
||||||
g_scan_pause_10ms <= (200 / 10) &&
|
g_scan_pause_10ms <= (200 / 10) &&
|
||||||
!g_scan_pause_mode)
|
!g_scan_pause_mode)
|
||||||
{
|
{
|
||||||
g_beep_to_play = BEEP_500HZ_60MS_DOUBLE_BEEP_OPTIONAL;
|
g_beep_to_play = BEEP_500HZ_60MS_DOUBLE_BEEP_OPTIONAL;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (g_tx_vfo->scanlist_1_participation)
|
if (g_tx_vfo->scanlist_1_participation)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user