From 370c7a593fd9bdf0448fea9599be48506d170e40 Mon Sep 17 00:00:00 2001 From: 1624952103 Date: Tue, 10 Feb 2026 19:44:04 +0800 Subject: [PATCH] =?utf8?q?=E4=BF=AE=E6=94=B9=E5=BF=83=E7=8E=87=E8=93=9D?= =?utf8?q?=E7=89=99=E5=B9=BF=E6=92=AD=E9=A2=91=E7=8E=87=20=E9=BB=98?= =?utf8?q?=E8=AE=A4=E5=BC=80=E5=90=AFtydemo?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- code/sdk/zhihui/drivers/ppg/hx3695/hx3695.c | 4 ++-- code/sdk/zhihui/drivers/ppg/ppgBleService/ppgBleService.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/code/sdk/zhihui/drivers/ppg/hx3695/hx3695.c b/code/sdk/zhihui/drivers/ppg/hx3695/hx3695.c index bbffc589e..9fe487403 100644 --- a/code/sdk/zhihui/drivers/ppg/hx3695/hx3695.c +++ b/code/sdk/zhihui/drivers/ppg/hx3695/hx3695.c @@ -1499,11 +1499,11 @@ void hx3695_alg_send_data(ppg_sensor_data_t *ppg_sensor_dat, WORK_MODE_T mode, u } } time_cnt++; - if(time_cnt >= 3) + // if(time_cnt >= 3) { time_cnt = 0; #ifdef SUPPORT_PPG_BLE_SERVICE -#if 1 +#if 0 if(uapi_dev_runtime_get_hrs_ble_status()) { diff --git a/code/sdk/zhihui/drivers/ppg/ppgBleService/ppgBleService.c b/code/sdk/zhihui/drivers/ppg/ppgBleService/ppgBleService.c index 4931aaf2a..13fb65a4c 100644 --- a/code/sdk/zhihui/drivers/ppg/ppgBleService/ppgBleService.c +++ b/code/sdk/zhihui/drivers/ppg/ppgBleService/ppgBleService.c @@ -108,7 +108,7 @@ static void ble_ppgtest_add_character_and_information(uint8_t server_id, uint16_ ble_ppgtest_add_descriptor_report_reference(server_id,srvc_handle,false); } -// #define TY_DEMO + #define TY_DEMO /* device向host发送数据:input report */ errcode_t ble_ppgtest_server_send_input_report(const uint8_t *data, uint8_t len) -- 2.17.1