首尾音本地播放

This commit is contained in:
Silent YANG 2024-01-19 06:02:39 -08:00
parent 7673e79484
commit e982f579d3

View file

@ -1759,7 +1759,8 @@ void BK4819_PrepareFSKReceive(void)
#endif #endif
BK4819_EnterTxMute(); BK4819_EnterTxMute();
BK4819_SetAF(BK4819_AF_MUTE); AUDIO_AudioPathOn();
BK4819_SetAF(BK4819_AF_BEEP);
BK4819_WriteRegister(BK4819_REG_70, BK4819_REG_70_ENABLE_TONE1 | (66u << BK4819_REG_70_SHIFT_TONE1_TUNING_GAIN)); BK4819_WriteRegister(BK4819_REG_70, BK4819_REG_70_ENABLE_TONE1 | (66u << BK4819_REG_70_SHIFT_TONE1_TUNING_GAIN));
@ -2172,7 +2173,7 @@ void BK4819_enable_mdc1200_rx(const bool enable)
// BK4819_REG_30_ENABLE_RX_DSP | // BK4819_REG_30_ENABLE_RX_DSP |
0); 0);
#if 1 #if 0
GPIO_ClearBit(&GPIOC->DATA, 4); GPIO_ClearBit(&GPIOC->DATA, 4);
BK4819_SetAF(BK4819_AF_MUTE); BK4819_SetAF(BK4819_AF_MUTE);
#else #else