From 30f27a2a6e90c51245b8ad024da3e40237250ca4 Mon Sep 17 00:00:00 2001 From: hcj <1224667075@qq.com> Date: Wed, 25 Sep 2024 19:35:12 +0800 Subject: [PATCH] =?utf8?q?ble=E9=97=B9=E9=92=9F=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../wearable/service/ble_service/bleservice/bleEvent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/sdk/application/wearable/service/ble_service/bleservice/bleEvent.c b/code/sdk/application/wearable/service/ble_service/bleservice/bleEvent.c index e71da963b..a663de85f 100644 --- a/code/sdk/application/wearable/service/ble_service/bleservice/bleEvent.c +++ b/code/sdk/application/wearable/service/ble_service/bleservice/bleEvent.c @@ -1657,7 +1657,7 @@ static void jsonCheck_alarm(uint8_t *buf)//json 解析闹钟数据 { week|=0b00000001; } - else + else if(day!=0) { week|=0b00000001<<(day); } -- 2.17.1