From 0126075e96ce6b47c6a14f3d9776d5ffe930f23d Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E5=BD=AD=E7=A3=8A?= <1624952103@qq.com> Date: Tue, 6 Jan 2026 06:26:26 +0000 Subject: [PATCH] Merge #3014 into fd272 from refs/changes/3014/head MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Code review from 彭磊 * refs/changes/3014/head: (2 commits squashed) - 272运动不启动活体检测 - Merge branch 'fd272' of https://codeup.aliyun.com/64191456b9581d62e8f81ac0/FD230 into fd272 Signed-off-by: aliyun6865282430 <1624952103@qq.com> Merged-by: Caisking <3449750381@qq.com> CR-link: https://codeup.aliyun.com/64191456b9581d62e8f81ac0/FD230/change/3014 --- code/sdk/zhihui/drivers/ppg/hx3695/hx3695.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/sdk/zhihui/drivers/ppg/hx3695/hx3695.c b/code/sdk/zhihui/drivers/ppg/hx3695/hx3695.c index 11ae050fb..015f0a989 100644 --- a/code/sdk/zhihui/drivers/ppg/hx3695/hx3695.c +++ b/code/sdk/zhihui/drivers/ppg/hx3695/hx3695.c @@ -1151,7 +1151,10 @@ bool hx3695_init(WORK_MODE_T mode) switch (work_mode_flag) { case HRS_MODE: + if(!uapi_dev_runtime_get_train_status()) + { tyhx_hrs_set_living(1, 15, 30); + } hx3695_hrs_enable(&ppg_sensor_data); break; -- 2.17.1