zhunk 5 месяцев назад
Родитель
Сommit
0ce957366f

+ 2 - 3
Application_cbd_apm32f1/applications/control.h

@@ -17,10 +17,10 @@
 
 #define SENSOR_EN        0            //温湿度:0关闭,1打开
 #define RPS_EN           0            //雨控检测:0关闭,1打开
-
+#define ROBOT_EN         0            //定时重启:0关闭,1打开
 ////////////////////////////////////////////////////////////////
 
-#define VERSION  "3.6.6"
+#define VERSION  "3.7.6"
 
 extern rt_event_t event_485_play;
 
@@ -44,7 +44,6 @@ typedef struct  _packed
     uint8_t develop_flag;         //是否进入培养模式
     uint8_t cool_fan_status;      //散热风机状态 0-停止 1-打开
     uint8_t fsl_sw;               //凡士林开关:0-关,1-开
-
     /*测报灯*/
     uint8_t heat_sw;         //加热开关
     uint8_t photo_ws;        //拍照

+ 1 - 15
Application_cbd_apm32f1/applications/sht30_collect.c

@@ -242,21 +242,7 @@ static void Power_ReadCheck(void *parameter)
 
             device_status.bat_status = 0; //解除欠压
         }
-        //
-        if(1){
-            RV = 10000 * (4096 - Read_Ntc_Voltage()) / Read_Ntc_Voltage();
-            if(TempCalculate(RV, 3950, 10000)-TempCalculate(RV, 3950, 10000)>10)
-            {
-                LOG_E("temp value err!!!!");
-            }
-            else {
-                device_status.heattem = TempCalculate(RV, 3950, 10000);
-                if(device_status.heattem>160)
-                {
-                    device_status.heattem = 25;
-                }
-            }
-        }
+
         //rt_sprintf(device_status.voltage,"%d.%02d",filter_voltage()/100,filter_voltage()%100);
         rt_uint16_t in_voltage_int = moving_average_filter_update(filter_v,Read_Real_Voltage());
         sprintf(device_status.voltage,"%d.%02d",in_voltage_int/100,in_voltage_int%100);

+ 1 - 0
Application_cbd_apm32f1/readme.md

@@ -1,6 +1,7 @@
 # 2026-06-04 更新说明
 	#版本:3.7.6
 	1、关闭雨控检测,优化雨控检测逻辑,增加消抖;
+	2、06-16:关闭定时重启
 # 2026-04-22 更新说明
 	#版本:3.6.6
 	计数只计算光栅触发计数;