Revert "屏蔽底层编译不过代码 2025/target/2 2026/1 2026/head
author罗正 <1732036298@qq.com>
Thu, 31 Jul 2025 07:58:24 +0000 (15:58 +0800)
committer罗正 <1732036298@qq.com>
Thu, 31 Jul 2025 07:58:24 +0000 (15:58 +0800)
"

code/sdk/zhihui/drivers/cywee/dml/cywee_dml.c
code/sdk/zhihui/drivers/ppg/hal/ppg_hal.c
code/sdk/zhihui/drivers/rotary_encoder/rotary_encoder_drv.c

index 121c6ff..918c841 100644 (file)
@@ -281,7 +281,6 @@ static void clean_sleep_data(void)
 
 void cywee_read_sleep_data(void)
 {
-    #if FD230_650_0723  //需要改
     char day[12] = {0};
     uapi_get_YYMMDD_Time(day, '\0');
 
@@ -329,7 +328,6 @@ void cywee_read_sleep_data(void)
     fclose(fp);
 
     return true;
-    #endif
 }
 
 static void cywee_set_sleep_time_data(inact_ext_result_t *sleep_data)
index 7ad6353..ed35c71 100644 (file)
@@ -170,9 +170,7 @@ void ppg_send_cmd_to_driver(char* mode, uint8_t enable)
 void ppg_get_leaklight_data(uint32_t *ch0,uint32_t *ch1,uint32_t *ch2)
 {
 #ifdef PPG_HX3695
-    #if FD230_650_0723  //需要改
     hx3695_get_leaklight_data(ch0,ch1,ch2);
-    #endif
 #elif defined PPG_VC9202
     vc9202_get_leaklight_data(ch0,ch1,ch2);
 #elif defined PPG_PAH8009
@@ -186,9 +184,7 @@ int32_t ppg_get_factory_data(void)
 #ifdef PPG_PAH8009  
     data =  pah8009_get_factory_data();
 #elif defined PPG_HX3695
-    #if FD230_650_0723  //需要改
-    data =  hx3695_get_factory_data(&green,&red,&ir);
-    #endif
+    data =  hx3695_get_factory_data();
 #endif
     return data;
 }
index cabc675..d729f28 100644 (file)
@@ -511,9 +511,7 @@ void rotary_encoder_restart(void)
 void rotary_get_chip_id(uint16_t *id)
 {
 #ifdef ROTARYENCODER_HX3507
-#if FD230_650_0723  //需要改
         crown_read_id(id);
-#endif
 #elif defined ROTARYENCODER_MIXO
         mixo_get_chip_id(id);
 #endif