0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-05-18 16:01:18 +03:00

fix MDC1200 compile error

This commit is contained in:
OneOfEleven 2023-10-25 22:38:28 +01:00
parent b41079cfa6
commit 126a83e09a
4 changed files with 3 additions and 0 deletions

View File

@ -38,6 +38,7 @@ ENABLE_PWRON_PASSWORD := 0
ENABLE_RESET_AES_KEY := 1
ENABLE_BIG_FREQ := 0
ENABLE_SMALL_BOLD := 1
# trim trailing 44B
ENABLE_TRIM_TRAILING_ZEROS := 1
ENABLE_KEEP_MEM_NAME := 1
ENABLE_WIDE_RX := 1

Binary file not shown.

Binary file not shown.

View File

@ -272,9 +272,11 @@ void FUNCTION_Select(function_type_t Function)
if (!DTMF_Reply())
{
#ifdef ENABLE_MDC1200
if (g_current_vfo->mdc1200_mode == MDC1200_MODE_BOT || g_current_vfo->mdc1200_mode == MDC1200_MODE_BOTH)
BK4819_send_MDC1200(MDC1200_OP_CODE_PTT_ID, 0x80, g_eeprom.mdc1200_id);
else
#endif
if (g_current_vfo->dtmf_ptt_id_tx_mode == PTT_ID_APOLLO)
BK4819_PlayTone(APOLLO_TONE1_HZ, APOLLO_TONE_MS, 0);
}