mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-06-20 15:08:37 +03:00
Try up/down butts with squelch off/monitor enabled
This commit is contained in:
10
app/dtmf.c
10
app/dtmf.c
@ -215,7 +215,7 @@ void DTMF_HandleRequest(void)
|
||||
return;
|
||||
}
|
||||
|
||||
if (!g_rx_vfo->dtmf_decoding_enable && !g_setting_killed)
|
||||
if (!g_rx_vfo->dtmf_decoding_enable && !g_setting_radio_disabled)
|
||||
{ // D-DCD is disabled or we're alive
|
||||
DTMF_clear_RX();
|
||||
return;
|
||||
@ -235,7 +235,7 @@ void DTMF_HandleRequest(void)
|
||||
|
||||
if (g_eeprom.permit_remote_kill)
|
||||
{
|
||||
g_setting_killed = true; // oooerr !
|
||||
g_setting_radio_disabled = true; // oooerr !
|
||||
|
||||
DTMF_clear_RX();
|
||||
|
||||
@ -274,7 +274,7 @@ void DTMF_HandleRequest(void)
|
||||
if (DTMF_CompareMessage(g_dtmf_rx + Offset, String, strlen(String), true))
|
||||
{ // shit, we're back !
|
||||
|
||||
g_setting_killed = false;
|
||||
g_setting_radio_disabled = false;
|
||||
|
||||
DTMF_clear_RX();
|
||||
|
||||
@ -328,8 +328,8 @@ void DTMF_HandleRequest(void)
|
||||
}
|
||||
}
|
||||
|
||||
if (g_setting_killed || g_dtmf_call_state != DTMF_CALL_STATE_NONE)
|
||||
{ // we've been killed or expecting a reply
|
||||
if (g_setting_radio_disabled || g_dtmf_call_state != DTMF_CALL_STATE_NONE)
|
||||
{ // we've been disabled, or expecting a reply
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user