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:
5aa7986
)
保证第一次进入系统指南针是关闭状态
author
SnickerSun
<snickersun@163.com>
Mon, 1 Apr 2024 11:24:28 +0000
(19:24 +0800)
committer
SnickerSun
<snickersun@163.com>
Mon, 1 Apr 2024 11:24:28 +0000
(19:24 +0800)
code/sdk/drivers/peripheral/mag/service/mag_service.c
patch
|
blob
|
history
diff --git
a/code/sdk/drivers/peripheral/mag/service/mag_service.c
b/code/sdk/drivers/peripheral/mag/service/mag_service.c
index
2c5612a
..
43e9da5
100644
(file)
--- a/
code/sdk/drivers/peripheral/mag/service/mag_service.c
+++ b/
code/sdk/drivers/peripheral/mag/service/mag_service.c
@@
-142,7
+142,8
@@
static void mag_service_check_task(void const *arg)
int32_t ret;
common_notify_mail_t mail;
uint32_t msgsize = (uint32_t)sizeof(common_notify_mail_t);
-
+ MMC5603_CheckID();
+ mmc5603_stop();
while (1) {
ret = osal_msg_queue_read_copy(g_app_queue, (void *)&mail, &msgsize,
OSAL_MSGQ_WAIT_FOREVER);