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

fixed mdc1200 variable access

This commit is contained in:
OneOfEleven
2023-11-03 00:53:08 +00:00
parent ef64d282e3
commit cfbb5b0bbf
5 changed files with 15 additions and 11 deletions

View File

@ -265,7 +265,7 @@ 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)
if (g_current_vfo->channel.mdc1200_mode == MDC1200_MODE_BOT || g_current_vfo->channel.mdc1200_mode == MDC1200_MODE_BOTH)
{
BK4819_WriteRegister(0x30,
(1u << 15) | // enable VCO calibration