From: penglei <1624952103@qq.com> Date: Thu, 2 Jan 2025 13:16:06 +0000 (+0800) Subject: 修复编译问题 X-Git-Url: http://git.snicker.com.cn/?a=commitdiff_plain;h=097a2eae0954a3ffced029aac01c2e79d3e9d087;p=mirrors%2FFD230.git 修复编译问题 --- diff --git a/code/sdk/zhihui/services/factorytest_service/factorytest_protocol.c b/code/sdk/zhihui/services/factorytest_service/factorytest_protocol.c index 64102142c..37554b3e5 100644 --- a/code/sdk/zhihui/services/factorytest_service/factorytest_protocol.c +++ b/code/sdk/zhihui/services/factorytest_service/factorytest_protocol.c @@ -1,8 +1,8 @@ /* * @Author: penglei 1624952103@qq.com * @Date: 2024-06-17 14:31:08 - * @LastEditors: SnickerSun snickersun@163.com - * @LastEditTime: 2024-12-29 20:45:38 + * @LastEditors: penglei 1624952103@qq.com + * @LastEditTime: 2024-12-31 15:39:53 * @FilePath: /FD230/code/sdk/application/wearable/service/factorytest_service/factorytest_protocol.c * @Description: * @@ -20,7 +20,7 @@ #include "lcd_private.h" #include "app_at_process.h" #include "cywee_hal.h" -#include "hx3695.h" + #include "ppg_service.h" #include "button_porting.h" #ifdef SUPPORT_CAT1_SERVICE @@ -28,6 +28,7 @@ #include "cat1_server.h" #endif #ifdef PPG_HX3695 +#include "hx3695.h" #include "hx3695_hrs_agc.h" #include "hx3695_spo2_agc.h" #include "hx3695_factory_test.h" @@ -270,12 +271,14 @@ void aging_task(void) /*********************表冠 老化测试*****************************/ //读crown ID +#ifdef ROTARYENCODER_HX3507 PRINT("crown_read_reg : %X \n",crown_read_reg(0x00)); if(!(crown_read_reg(0x00) == 0x30)) { aging_t.crown_error++; aging_t.fail_num++; } +#endif PRINT("表冠 失败次数 : %d \r\n",aging_t.crown_error);