From 43859cd592c55e19a6907fb50a97bb86e623279f Mon Sep 17 00:00:00 2001 From: hcj <1224667075@qq.com> Date: Mon, 15 Jul 2024 16:37:13 +0800 Subject: [PATCH] =?utf8?q?=E4=BF=AE=E5=A4=8D=E6=AD=A5=E6=95=B0=E5=90=8C?= =?utf8?q?=E6=AD=A5=EF=BC=8C=E5=9B=A0=E4=B8=BA=E6=97=B6=E9=97=B4=E6=88=B3?= =?utf8?q?=E5=AF=BC=E8=87=B4APP=E4=B8=8A=E6=98=BE=E7=A4=BA=E6=AD=A5?= =?utf8?q?=E6=95=B0=E5=BC=82=E5=B8=B8=E7=9A=84=E9=97=AE=E9=A2=98?= 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 0b32e8361..45f840c6a 100644 --- a/code/sdk/application/wearable/service/ble_service/blemoder/bletest.cpp +++ b/code/sdk/application/wearable/service/ble_service/blemoder/bletest.cpp @@ -686,7 +686,7 @@ char * ble_sywee_history(uint8_t day,uint16_t *len ,uint8_t type) time(&currtime); timeinfo = localtime(&currtime); printf("localtime %d",timeinfo->tm_min); - creationTime-=(timeinfo->tm_min*60); + creationTime=creationTime-(timeinfo->tm_min*60)-(timeinfo->tm_sec); switch (type) { -- 2.17.1