From 93a1f946dc72366418b4c9541f7c79c0f8c6adc3 Mon Sep 17 00:00:00 2001 From: penglei <1624952103@qq.com> Date: Mon, 10 Nov 2025 18:31:13 +0800 Subject: [PATCH] =?utf8?q?hx3695=E6=89=93=E5=BC=80=E6=B4=BB=E4=BD=93?= =?utf8?q?=E6=A3=80=E6=B5=8B=E5=8A=9F=E8=83=BD(=E8=A1=A5)(=E8=A1=A5)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- code/sdk/zhihui/drivers/ppg/hx3695/hx3695.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/sdk/zhihui/drivers/ppg/hx3695/hx3695.c b/code/sdk/zhihui/drivers/ppg/hx3695/hx3695.c index 9e217f272..6e586bf12 100644 --- a/code/sdk/zhihui/drivers/ppg/hx3695/hx3695.c +++ b/code/sdk/zhihui/drivers/ppg/hx3695/hx3695.c @@ -1380,6 +1380,10 @@ void hx3695_alg_send_data(ppg_sensor_data_t *ppg_sensor_dat, WORK_MODE_T mode, u { get_avg_hrs(hrs_result.hr_result); } + else if(hrs_result.living_status == MSG_LIVING_FAIL) + { + avg_hrs = 0; + } break; } -- 2.17.1