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:
0ecc519
)
修复运动数据存储(补)
2461/1
2461/head
2462/target/1
author
penglei
<1624952103@qq.com>
Tue, 30 Sep 2025 10:28:51 +0000
(18:28 +0800)
committer
penglei
<1624952103@qq.com>
Tue, 30 Sep 2025 10:28:51 +0000
(18:28 +0800)
code/sdk/zhihui/drivers/cywee/dml/cywee_dml.c
patch
|
blob
|
history
diff --git
a/code/sdk/zhihui/drivers/cywee/dml/cywee_dml.c
b/code/sdk/zhihui/drivers/cywee/dml/cywee_dml.c
index
ab786e3
..
0a25471
100644
(file)
--- a/
code/sdk/zhihui/drivers/cywee/dml/cywee_dml.c
+++ b/
code/sdk/zhihui/drivers/cywee/dml/cywee_dml.c
@@
-1622,7
+1622,7
@@
void CWM_AP_SensorListen(pSensorEVT_t sensorEVT) {
CustomEventPublish(TOPIC_EVENT_AR_ALERT_TYPE_UPDATE,&ar_alert_type,sizeof(int));
}else{
- stepcount
+
= (int)sensorEVT->fData[1];
+ stepcount = (int)sensorEVT->fData[1];
memset(&c_act_result_t,0,sizeof(act_result_t));
c_act_result_t.activity_mode = (int)sensorEVT->fData[0];
c_act_result_t.steps = stepcount;