From: 1624952103 Date: Thu, 12 Feb 2026 10:15:56 +0000 (+0800) Subject: 提高ppg优先级,优化心率计算(补) X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=e84bc0f4e98017800726bc0160e2f3ac483677ab;p=mirrors%2FFD230.git 提高ppg优先级,优化心率计算(补) --- diff --git a/code/sdk/zhihui/drivers/ppg/hx3695/hx3695.c b/code/sdk/zhihui/drivers/ppg/hx3695/hx3695.c index 26553a29b..913509c3f 100644 --- a/code/sdk/zhihui/drivers/ppg/hx3695/hx3695.c +++ b/code/sdk/zhihui/drivers/ppg/hx3695/hx3695.c @@ -1579,7 +1579,7 @@ void hx3695_alg_send_data(ppg_sensor_data_t *ppg_sensor_dat, WORK_MODE_T mode, u encoded_hrm[14] = (uint8_t)(gsen_data_z_fifo[ii]&0xFF); encoded_hrm[15] = ppg_sensor_dat->led_data[0].led_current;//绿灯电流 - encoded_hrm[16] = wear_status;//红外电流 + encoded_hrm[16] = ppg_sensor_dat->led_data[3].led_current;//红外电流 ble_ppgtest_server_send_input_report(encoded_hrm,17); }