0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-19 14:48:03 +03:00

added 1750Hz tone burst ptt-id menu option

This commit is contained in:
OneOfEleven
2023-12-12 10:43:32 +00:00
parent c9ee299b8f
commit 21584a8d1e
9 changed files with 20 additions and 7 deletions

View File

@ -453,6 +453,7 @@ bool DTMF_Reply(void)
g_dtmf_call_state != DTMF_CALL_STATE_NONE ||
#endif
g_current_vfo->channel.dtmf_ptt_id_tx_mode == PTT_ID_APOLLO ||
g_current_vfo->channel.dtmf_ptt_id_tx_mode == PTT_ID_1750 ||
g_current_vfo->channel.dtmf_ptt_id_tx_mode == PTT_ID_OFF ||
g_current_vfo->channel.dtmf_ptt_id_tx_mode == PTT_ID_EOT)
{

View File

@ -808,9 +808,10 @@ void MENU_AcceptSetting(void)
case MENU_PTT_ID:
g_tx_vfo->channel.dtmf_ptt_id_tx_mode = g_sub_menu_selection;
if (g_tx_vfo->channel.dtmf_ptt_id_tx_mode == PTT_ID_EOT ||
g_tx_vfo->channel.dtmf_ptt_id_tx_mode == PTT_ID_BOTH ||
g_tx_vfo->channel.dtmf_ptt_id_tx_mode == PTT_ID_APOLLO)
if (g_tx_vfo->channel.dtmf_ptt_id_tx_mode == PTT_ID_EOT ||
g_tx_vfo->channel.dtmf_ptt_id_tx_mode == PTT_ID_BOTH ||
g_tx_vfo->channel.dtmf_ptt_id_tx_mode == PTT_ID_APOLLO ||
g_tx_vfo->channel.dtmf_ptt_id_tx_mode == PTT_ID_1750)
{
g_eeprom.config.setting.roger_mode = ROGER_MODE_OFF;
break;