mirror of
https://github.com/egzumer/uv-k5-firmware-custom
synced 2024-11-21 09:10:27 +00:00
Fix #434: Don't send tail tone when STE is off
This commit is contained in:
parent
aa92e93c56
commit
a22760c0b4
@ -1173,7 +1173,8 @@ void APP_TimeSlice10ms(void)
|
|||||||
if (gAlarmState == ALARM_STATE_TXALARM) {
|
if (gAlarmState == ALARM_STATE_TXALARM) {
|
||||||
gAlarmState = ALARM_STATE_SITE_ALARM;
|
gAlarmState = ALARM_STATE_SITE_ALARM;
|
||||||
|
|
||||||
RADIO_SendCssTail();
|
if(gEeprom.TAIL_TONE_ELIMINATION)
|
||||||
|
RADIO_SendCssTail();
|
||||||
BK4819_SetupPowerAmplifier(0, 0);
|
BK4819_SetupPowerAmplifier(0, 0);
|
||||||
BK4819_ToggleGpioOut(BK4819_GPIO1_PIN29_PA_ENABLE, false);
|
BK4819_ToggleGpioOut(BK4819_GPIO1_PIN29_PA_ENABLE, false);
|
||||||
BK4819_Enable_AfDac_DiscMode_TxDsp();
|
BK4819_Enable_AfDac_DiscMode_TxDsp();
|
||||||
|
6
radio.c
6
radio.c
@ -1025,7 +1025,8 @@ void RADIO_SendEndOfTransmission(void)
|
|||||||
DTMF_SendEndOfTransmission();
|
DTMF_SendEndOfTransmission();
|
||||||
|
|
||||||
// send the CTCSS/DCS tail tone - allows the receivers to mute the usual FM squelch tail/crash
|
// send the CTCSS/DCS tail tone - allows the receivers to mute the usual FM squelch tail/crash
|
||||||
RADIO_SendCssTail();
|
if(gEeprom.TAIL_TONE_ELIMINATION)
|
||||||
|
RADIO_SendCssTail();
|
||||||
RADIO_SetupRegisters(false);
|
RADIO_SetupRegisters(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1035,6 +1036,7 @@ void RADIO_PrepareCssTX(void)
|
|||||||
|
|
||||||
SYSTEM_DelayMs(200);
|
SYSTEM_DelayMs(200);
|
||||||
|
|
||||||
RADIO_SendCssTail();
|
if(gEeprom.TAIL_TONE_ELIMINATION)
|
||||||
|
RADIO_SendCssTail();
|
||||||
RADIO_SetupRegisters(true);
|
RADIO_SetupRegisters(true);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user