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

fix mdc side beeps

This commit is contained in:
OneOfEleven
2023-11-06 01:46:51 +00:00
parent b8e7d11bfc
commit f494b8565b
6 changed files with 25 additions and 20 deletions

View File

@ -267,7 +267,7 @@ void FUNCTION_Select(function_type_t Function)
if (g_current_vfo->channel.mdc1200_mode == MDC1200_MODE_BOT || g_current_vfo->channel.mdc1200_mode == MDC1200_MODE_BOTH)
{
#ifdef ENABLE_MDC1200_SIDE_BEEP
// BK4819_StartTone1(880, 20, true, false);
// BK4819_StartTone1(880, 10, true, false);
// SYSTEM_DelayMs(120);
// BK4819_StopTones(true);
#endif
@ -276,7 +276,7 @@ void FUNCTION_Select(function_type_t Function)
BK4819_send_MDC1200(MDC1200_OP_CODE_PTT_ID, 0x80, g_eeprom.config.setting.mdc1200_id, true);
#ifdef ENABLE_MDC1200_SIDE_BEEP
BK4819_StartTone1(880, 20, true, false);
BK4819_StartTone1(880, 10, true, false);
SYSTEM_DelayMs(120);
BK4819_StopTones(true);
#endif