mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-04-28 22:31:25 +03:00
Fixed TX audio bandwidth bug
This commit is contained in:
parent
00301e564c
commit
b9ab2148fd
@ -589,6 +589,10 @@ void MENU_AcceptSetting(void)
|
|||||||
gDTMF_RecvTimeoutSaved = 0;
|
gDTMF_RecvTimeoutSaved = 0;
|
||||||
gDTMF_ReceivedSaved[0] = '\0';
|
gDTMF_ReceivedSaved[0] = '\0';
|
||||||
gSetting_live_DTMF_decoder = gSubMenuSelection;
|
gSetting_live_DTMF_decoder = gSubMenuSelection;
|
||||||
|
if (!gSetting_live_DTMF_decoder)
|
||||||
|
BK4819_DisableDTMF();
|
||||||
|
gFlagReconfigureVfos = true;
|
||||||
|
gUpdateStatus = true;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case MENU_D_LIST:
|
case MENU_D_LIST:
|
||||||
|
BIN
firmware.bin
BIN
firmware.bin
Binary file not shown.
Binary file not shown.
@ -185,6 +185,9 @@ void FUNCTION_Select(FUNCTION_Type_t Function)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// if the DTMF decoder is enabled, it destroys the TX audio !! .. 1of11
|
||||||
|
BK4819_DisableDTMF();
|
||||||
|
|
||||||
if (gCurrentVfo->SCRAMBLING_TYPE > 0 && gSetting_ScrambleEnable)
|
if (gCurrentVfo->SCRAMBLING_TYPE > 0 && gSetting_ScrambleEnable)
|
||||||
BK4819_EnableScramble(gCurrentVfo->SCRAMBLING_TYPE - 1);
|
BK4819_EnableScramble(gCurrentVfo->SCRAMBLING_TYPE - 1);
|
||||||
|
5
radio.c
5
radio.c
@ -762,10 +762,15 @@ void RADIO_SetupRegisters(bool bSwitchToFunction0)
|
|||||||
InterruptMask |= BK4819_REG_3F_DTMF_5TONE_FOUND;
|
InterruptMask |= BK4819_REG_3F_DTMF_5TONE_FOUND;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
if (gCurrentFunction != FUNCTION_TRANSMIT && gSetting_live_DTMF_decoder)
|
||||||
{
|
{
|
||||||
BK4819_EnableDTMF();
|
BK4819_EnableDTMF();
|
||||||
InterruptMask |= BK4819_REG_3F_DTMF_5TONE_FOUND;
|
InterruptMask |= BK4819_REG_3F_DTMF_5TONE_FOUND;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
BK4819_DisableDTMF();
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// enable/disable BK4819 selected interrupts
|
// enable/disable BK4819 selected interrupts
|
||||||
|
Loading…
x
Reference in New Issue
Block a user