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:
03e473c
)
睡眠时间戳同步算法库更新优化
author
penglei
<1624952103@qq.com>
Wed, 6 Nov 2024 09:17:15 +0000
(17:17 +0800)
committer
penglei
<1624952103@qq.com>
Wed, 6 Nov 2024 09:17:15 +0000
(17:17 +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
4f65f70
..
c37b88d
100644
(file)
--- a/
code/sdk/drivers/peripheral/cywee/src/main_dml.c
+++ b/
code/sdk/drivers/peripheral/cywee/src/main_dml.c
@@
-366,8
+366,8
@@
void cywee_set_sleep_stat_data(cywee_inactivity_result_t c_inactivity_result_t)
else if(sleep_stat[stat_num].stat == 4)
{
//目前cywee出睡时间戳有bug 暂时先用系统时间戳
- uapi_get_timestampe_ss(×tamp);
- sleep_stat[stat_num].timestamp = timestamp;
+
//
uapi_get_timestampe_ss(×tamp);
+
//
sleep_stat[stat_num].timestamp = timestamp;
wake_up_timestamp = sleep_stat[stat_num].timestamp;
sleep_update_timestamp = wake_up_timestamp;
}