From 0e17dc7d792baec4197692b932c8018bfe6d7632 Mon Sep 17 00:00:00 2001 From: penglei <1624952103@qq.com> Date: Mon, 25 Nov 2024 15:40:45 +0800 Subject: [PATCH] =?utf8?q?=E4=BC=98=E5=8C=96=E7=9D=A1=E7=9C=A0=E6=B8=85?= =?utf8?q?=E9=99=A4=E5=8E=86=E5=8F=B2=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- code/sdk/drivers/peripheral/cywee/src/main_dml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/sdk/drivers/peripheral/cywee/src/main_dml.c b/code/sdk/drivers/peripheral/cywee/src/main_dml.c index abafaf521..a6a9d42e0 100644 --- 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)); -- 2.17.1