0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-04-28 14:21:25 +03:00

softer mdc side beeps

This commit is contained in:
OneOfEleven 2023-11-05 23:38:56 +00:00
parent e5226583ad
commit 32394cc558
4 changed files with 4 additions and 4 deletions

Binary file not shown.

Binary file not shown.

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, 50, false);
BK4819_StartTone1(880, 20, false);
SYSTEM_DelayMs(120);
BK4819_StopTones(true);
#endif
@ -275,7 +275,7 @@ void FUNCTION_Select(function_type_t Function)
BK4819_send_MDC1200(MDC1200_OP_CODE_PTT_ID, 0x80, g_eeprom.config.setting.mdc1200_id);
#ifdef ENABLE_MDC1200_SIDE_BEEP
BK4819_StartTone1(880, 50, false);
BK4819_StartTone1(880, 20, false);
SYSTEM_DelayMs(120);
BK4819_StopTones(true);
#endif

View File

@ -1213,7 +1213,7 @@ void RADIO_tx_eot(void)
if (g_current_vfo->channel.mdc1200_mode == MDC1200_MODE_EOT || g_current_vfo->channel.mdc1200_mode == MDC1200_MODE_BOTH)
{
#ifdef ENABLE_MDC1200_SIDE_BEEP
//BK4819_StartTone1(880, 50, false);
//BK4819_StartTone1(880, 20, false);
//SYSTEM_DelayMs(120);
//BK4819_StopTones(true);
#endif
@ -1221,7 +1221,7 @@ void RADIO_tx_eot(void)
BK4819_send_MDC1200(MDC1200_OP_CODE_POST_ID, 0x00, g_eeprom.config.setting.mdc1200_id);
#ifdef ENABLE_MDC1200_SIDE_BEEP
BK4819_StartTone1(880, 50, false);
BK4819_StartTone1(880, 20, false);
SYSTEM_DelayMs(120);
BK4819_StopTones(true);
#endif