温度传感器故障时直接关闭加热
This commit is contained in:
parent
dec922fbf6
commit
0800a15966
@ -26,6 +26,10 @@ void main()
|
||||
Channel1_Error_Flag = System_Fault; //通道1温度传感器故障
|
||||
// PWM.Heating_Flag1 = System_Fault;
|
||||
}
|
||||
else if (ADC.Display_Temp1_Value == 500)
|
||||
{
|
||||
Channel1_Error_Flag = System_Fault; //通道1温度传感器故障
|
||||
}
|
||||
else
|
||||
{
|
||||
Channel1_Error_Flag = FALSE;
|
||||
@ -44,6 +48,10 @@ void main()
|
||||
Channel2_Error_Flag = System_Fault; //通道2温度传感器故障
|
||||
// PWM.Heating_Flag2 = System_Fault;
|
||||
}
|
||||
else if (ADC.Display_Temp2_Value == 500)
|
||||
{
|
||||
Channel2_Error_Flag = System_Fault; //通道1温度传感器故障
|
||||
}
|
||||
else
|
||||
{
|
||||
Channel2_Error_Flag = FALSE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user