|
|
@@ -1366,8 +1366,12 @@ static void Ctr_Mortor_entry(void* parameter)
|
|
|
#if TG_MODULE ==1
|
|
|
if(rt_pin_read(CTR_UPC_LIMIT)==0){
|
|
|
ctr_cangmen_down(OFF);
|
|
|
+ Beep_Tip(2000);
|
|
|
+ while(rt_pin_read(CTR_UPC_LIMIT)==0){
|
|
|
+ ctr_cangmen_down(OPEN);
|
|
|
+ rt_thread_delay(1000);
|
|
|
+ }
|
|
|
num_down_open = 200;
|
|
|
- Beep_Tip(1000);
|
|
|
device_status.ctr_down_motor = 1;
|
|
|
}
|
|
|
#endif
|
|
|
@@ -1671,7 +1675,9 @@ void Check_ParamConfig(void)
|
|
|
|
|
|
if(device_status.clt_time==0) device_status.clt_time = 10;
|
|
|
if(device_status.heattime==0) device_status.heattime = 10;
|
|
|
- if(device_status.tph==0) device_status.tph = 70;
|
|
|
+ if(device_status.tph==0&&device_status.tpl==0){ //参数丢失
|
|
|
+ ResetParamDefault_DC();
|
|
|
+ }
|
|
|
if(device_status.heatvalue==0) device_status.heatvalue = 100;
|
|
|
|
|
|
/*设备类型,7孢子仪,3测报灯,默认设置测报灯*/
|