From ac4fa8ab9bbb4866c6e85a8a2110c6512cd7889b Mon Sep 17 00:00:00 2001 From: hcj <1224667075@qq.com> Date: Fri, 28 Jun 2024 15:51:09 +0800 Subject: [PATCH] =?utf8?q?=E8=A1=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../wearable/service/ble_service/blemoder/bletest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/sdk/application/wearable/service/ble_service/blemoder/bletest.cpp b/code/sdk/application/wearable/service/ble_service/blemoder/bletest.cpp index 3a2a83174..84692952f 100644 --- a/code/sdk/application/wearable/service/ble_service/blemoder/bletest.cpp +++ b/code/sdk/application/wearable/service/ble_service/blemoder/bletest.cpp @@ -73,7 +73,7 @@ extern "C" { uint8_t ble_AT_add_nap_data(uint16_t time) { OHOS::NAP_T data; - data.duration=time; + data.total_time=time; uint32_t creationTime; int ret =uapi_get_timestampe_ss(&creationTime); data.fall_asleep_timestamp=creationTime-60*60; -- 2.17.1