睡眠时间戳同步算法库更新优化
authorpenglei <1624952103@qq.com>
Wed, 6 Nov 2024 09:17:15 +0000 (17:17 +0800)
committerpenglei <1624952103@qq.com>
Wed, 6 Nov 2024 09:17:15 +0000 (17:17 +0800)
code/sdk/drivers/peripheral/cywee/src/main_dml.c

index 4f65f70..c37b88d 100644 (file)
@@ -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(&timestamp);
-            sleep_stat[stat_num].timestamp = timestamp;
+            // uapi_get_timestampe_ss(&timestamp);
+            // sleep_stat[stat_num].timestamp = timestamp;
             wake_up_timestamp = sleep_stat[stat_num].timestamp;
             sleep_update_timestamp = wake_up_timestamp;
         }