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:
71d146f
)
优化睡眠清除历史数据
1462/1
author
penglei
<1624952103@qq.com>
Mon, 25 Nov 2024 07:40:45 +0000
(15:40 +0800)
committer
penglei
<1624952103@qq.com>
Mon, 25 Nov 2024 07:40:45 +0000
(15:40 +0800)
code/sdk/drivers/peripheral/cywee/src/main_dml.c
patch
|
blob
|
history
diff --git
a/code/sdk/drivers/peripheral/cywee/src/main_dml.c
b/code/sdk/drivers/peripheral/cywee/src/main_dml.c
index
abafaf5
..
a6a9d42
100644
(file)
--- a/
code/sdk/drivers/peripheral/cywee/src/main_dml.c
+++ b/
code/sdk/drivers/peripheral/cywee/src/main_dml.c
@@
-182,7
+182,7
@@
void clean_sleep_data(void)
wake_up_timestamp = 0;
abs_static_timestampe = 0;
asleep_timestampe = 0;
- memset(
&
sleep_stat,0,SLEEP_STATUS_LENGTH * sizeof(SLEEP_STAT_T));
+ memset(sleep_stat,0,SLEEP_STATUS_LENGTH * sizeof(SLEEP_STAT_T));
memset(time_file_path, 0, sizeof(time_file_path));
memset(status_file_path, 0, sizeof(status_file_path));
memset(dir_path, 0, sizeof(dir_path));