From 711e006b912f60c741151075cf8bebc04ccd4e9e Mon Sep 17 00:00:00 2001 From: Josh Gao Date: Fri, 13 Jun 2025 16:44:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=A2=9E=E5=8A=A09528=E9=94=81=E5=AE=9A?= =?UTF-8?q?=E5=9B=9E=E8=AF=BB=E5=87=BD=E6=95=B0=E5=AE=9A=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hwconfig.c | 2 +- src/hwconfig.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/hwconfig.c b/src/hwconfig.c index 8bc0a1f..f64596d 100644 --- a/src/hwconfig.c +++ b/src/hwconfig.c @@ -511,7 +511,7 @@ uint8_t Hardware_GetLMK04828LockStatus(void) ret |= ((regVal & 0x02) == 0x02) ? CLK_SP_PLL1_LOCK : 0; // pll2 - lmk04828_read(ad9528_inst, 0x0183, ®Val); // [D1] is lock indicator + lmk04828_read(lmk04828_inst, 0x0183, ®Val); // [D1] is lock indicator ret |= ((regVal & 0x02) == 0x02) ? CLK_SP_PLL2_LOCK : 0; return ret; diff --git a/src/hwconfig.h b/src/hwconfig.h index 726a028..f530421 100644 --- a/src/hwconfig.h +++ b/src/hwconfig.h @@ -27,4 +27,5 @@ int8_t Hardware_GetAD9361Temp_1(void); int8_t Hardware_GetAD9361Temp_2(void); uint8_t Hardware_GetAD9361LockStatus(void); uint8_t Hardware_GetHMC7044LockStatus(void); +uint8_t Hardware_GetAD9528LockStatus(void); uint8_t Hardware_GetLMK04828LockStatus(void);