From 544037286f0f12d20bd33cc33ba48f89d9a3b962 Mon Sep 17 00:00:00 2001 From: SnickerSun Date: Mon, 4 Nov 2024 17:32:44 +0800 Subject: [PATCH] =?utf8?q?=E4=BF=AE=E5=A4=8D=E5=85=B3=E7=B3=BB=E9=94=99?= =?utf8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- code/sdk/drivers/peripheral/utils/custom_utils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/sdk/drivers/peripheral/utils/custom_utils.c b/code/sdk/drivers/peripheral/utils/custom_utils.c index 661fa1e80..2e6039e9c 100644 --- a/code/sdk/drivers/peripheral/utils/custom_utils.c +++ b/code/sdk/drivers/peripheral/utils/custom_utils.c @@ -23,6 +23,7 @@ #include "errcode.h" #include "power_display_service.h" #include "los_base.h" +#include "tcxo.h" // #include "config/include/ConfigModelC.h" #ifdef SUPPORT_TCPIP @@ -182,7 +183,7 @@ void mcu_poweroff(void) /* clr ulp int and event */ writel(0x5702C1E4, 0x3F); writel(0x5702C1EC, 0x3F); - osDelay(PM_SHIPMODE_DELAY_SLEEP_MS); + uapi_tcxo_delay_us(PM_SHIPMODE_DELAY_SLEEP_MS); reg16_clrbit(0x5702c508, POS_14); writew(0x5700450c, 0x100); -- 2.17.1