Commit 9d881800 authored by hu's avatar hu

调整水温报警BUG

parent 55a5c01f
......@@ -362,7 +362,7 @@ void Can_Set_Buff_18FF2A17(uint8_t CopyData[])
uint8_t Water_Temp_Level = 0u; /*水温状态*/
uint8_t Remining_Fuel_Warning = 0u; /*剩余燃料报警*/
uint8_t Battery_Maintenance_Warning = 0u; /*电池维护报警*/
uint8_t Over_Heat_Warning_Status = 0u; /*水温状态*/
static uint8_t Over_Heat_Warning_Status = 0u; /*水温状态*/
uint8_t Meter_Malfunction = 0u; /*仪表故障*/
uint8_t SRS_Input = 0u;
uint8_t SW_Rear_Body_Warning = 0u;
......@@ -436,17 +436,25 @@ void Can_Set_Buff_18FF2A17(uint8_t CopyData[])
}
}
if ((Coolant_Get_Valid() == 1u) && (Coolant_Get_CurSeg() >= 12u) && (Common_Get_Disp_V_Speed() > 20))
if ((Coolant_Get_Valid() == 1u) && (Coolant_Get_CurSeg() >= 12u))
{
Over_Heat_Warning_Status = 1 ;
Water_Temp_Level_Flag = 1u;
}
else if (Coolant_Get_CurSeg() <= 9)
{
Over_Heat_Warning_Status = 0 ;
Water_Temp_Level_Flag = 0u;
}
if ((Common_Get_Water_Temp_Level_Flag() == 1) && (Common_Get_Disp_V_Speed() > 20))
{
Over_Heat_Warning_Status = 1 ;
}
else
{
Over_Heat_Warning_Status = 0 ;
}
/*电源电压*/
IGN_Voltage = (9 + Gui_Get_Voltmeter_DisplayMode()) * 10 ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment