mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-04-29 23:01:26 +03:00
softer mdc side beeps
This commit is contained in:
parent
e5226583ad
commit
32394cc558
BIN
firmware.bin
BIN
firmware.bin
Binary file not shown.
Binary file not shown.
@ -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)
|
if (g_current_vfo->channel.mdc1200_mode == MDC1200_MODE_BOT || g_current_vfo->channel.mdc1200_mode == MDC1200_MODE_BOTH)
|
||||||
{
|
{
|
||||||
#ifdef ENABLE_MDC1200_SIDE_BEEP
|
#ifdef ENABLE_MDC1200_SIDE_BEEP
|
||||||
BK4819_StartTone1(880, 50, false);
|
BK4819_StartTone1(880, 20, false);
|
||||||
SYSTEM_DelayMs(120);
|
SYSTEM_DelayMs(120);
|
||||||
BK4819_StopTones(true);
|
BK4819_StopTones(true);
|
||||||
#endif
|
#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);
|
BK4819_send_MDC1200(MDC1200_OP_CODE_PTT_ID, 0x80, g_eeprom.config.setting.mdc1200_id);
|
||||||
|
|
||||||
#ifdef ENABLE_MDC1200_SIDE_BEEP
|
#ifdef ENABLE_MDC1200_SIDE_BEEP
|
||||||
BK4819_StartTone1(880, 50, false);
|
BK4819_StartTone1(880, 20, false);
|
||||||
SYSTEM_DelayMs(120);
|
SYSTEM_DelayMs(120);
|
||||||
BK4819_StopTones(true);
|
BK4819_StopTones(true);
|
||||||
#endif
|
#endif
|
||||||
|
4
radio.c
4
radio.c
@ -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)
|
if (g_current_vfo->channel.mdc1200_mode == MDC1200_MODE_EOT || g_current_vfo->channel.mdc1200_mode == MDC1200_MODE_BOTH)
|
||||||
{
|
{
|
||||||
#ifdef ENABLE_MDC1200_SIDE_BEEP
|
#ifdef ENABLE_MDC1200_SIDE_BEEP
|
||||||
//BK4819_StartTone1(880, 50, false);
|
//BK4819_StartTone1(880, 20, false);
|
||||||
//SYSTEM_DelayMs(120);
|
//SYSTEM_DelayMs(120);
|
||||||
//BK4819_StopTones(true);
|
//BK4819_StopTones(true);
|
||||||
#endif
|
#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);
|
BK4819_send_MDC1200(MDC1200_OP_CODE_POST_ID, 0x00, g_eeprom.config.setting.mdc1200_id);
|
||||||
|
|
||||||
#ifdef ENABLE_MDC1200_SIDE_BEEP
|
#ifdef ENABLE_MDC1200_SIDE_BEEP
|
||||||
BK4819_StartTone1(880, 50, false);
|
BK4819_StartTone1(880, 20, false);
|
||||||
SYSTEM_DelayMs(120);
|
SYSTEM_DelayMs(120);
|
||||||
BK4819_StopTones(true);
|
BK4819_StopTones(true);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user