From: penglei <1624952103@qq.com> Date: Thu, 10 Jul 2025 09:24:29 +0000 (+0800) Subject: 优化原像心率计算(补 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=ed4d16bf940fb3e9d48996b2170804df7aa9e017;p=mirrors%2FFD230.git 优化原像心率计算(补 --- diff --git a/code/sdk/drivers/peripheral/ppg/pah8009/sensor/pah800x_main.c b/code/sdk/drivers/peripheral/ppg/pah8009/sensor/pah800x_main.c index 068b25500..85929d604 100644 --- a/code/sdk/drivers/peripheral/ppg/pah8009/sensor/pah800x_main.c +++ b/code/sdk/drivers/peripheral/ppg/pah8009/sensor/pah800x_main.c @@ -1702,9 +1702,9 @@ void pah8009_control(char *mode,uint8_t enable) work_mode = 2; } else if (strcmp(mode, "leaklight") == 0) { // md = FT_LEAK_LIGHT_MODE; - // factory_test_mode(factory_test_leak_light_target_sample, 0, 0, 0, 0); - extern void test_library_HRD(void); - test_library_HRD(); + factory_test_mode(factory_test_leak_light_target_sample, 0, 0, 0, 0); + // extern void test_library_HRD(void); + // test_library_HRD(); } else if (strcmp(mode, "wear") == 0) { pah_sensor_init(diw_4mm_g_ir_hrd); touch_only_sensor_start();