projects
/
mirrors
/
FD230.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bf5beb
)
272运动不启动活体检测
author
penglei
<1624952103@qq.com>
Mon, 5 Jan 2026 08:36:42 +0000
(16:36 +0800)
committer
penglei
<1624952103@qq.com>
Mon, 5 Jan 2026 08:36:42 +0000
(16:36 +0800)
code/sdk/zhihui/drivers/ppg/hx3695/hx3695.c
patch
|
blob
|
history
diff --git
a/code/sdk/zhihui/drivers/ppg/hx3695/hx3695.c
b/code/sdk/zhihui/drivers/ppg/hx3695/hx3695.c
index
11ae050
..
015f0a9
100644
(file)
--- 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)
\r
{
\r
case HRS_MODE:
\r
+ if(!uapi_dev_runtime_get_train_status())
\r
+ {
\r
tyhx_hrs_set_living(1, 15, 30);
\r
+ }
\r
hx3695_hrs_enable(&ppg_sensor_data);
\r
break;
\r
\r