From: 1624952103 Date: Tue, 10 Feb 2026 11:44:04 +0000 (+0800) Subject: 修改心率蓝牙广播频率 默认开启tydemo X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=refs%2Fchanges%2F3210%2Ftarget%2F1;p=mirrors%2FFD230.git 修改心率蓝牙广播频率 默认开启tydemo --- 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)