projects
/
mirrors
/
FD230.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a03bd6
)
修复关系错误
1332/target/2
1333/2
1333/head
author
SnickerSun
<snickersun@163.com>
Mon, 4 Nov 2024 09:32:44 +0000
(17:32 +0800)
committer
SnickerSun
<snickersun@163.com>
Mon, 4 Nov 2024 09:32:44 +0000
(17:32 +0800)
code/sdk/drivers/peripheral/utils/custom_utils.c
patch
|
blob
|
history
diff --git
a/code/sdk/drivers/peripheral/utils/custom_utils.c
b/code/sdk/drivers/peripheral/utils/custom_utils.c
index
661fa1e
..
2e6039e
100644
(file)
--- 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);