Commit d1f04e2e authored by hu's avatar hu

调整EBS不显示问题

parent a0cb28b0
...@@ -532,25 +532,14 @@ void GUI_TFTTelltales_Display(uint8_t Mode) ...@@ -532,25 +532,14 @@ void GUI_TFTTelltales_Display(uint8_t Mode)
{ {
GUI_Translate_Display(WarningLight_Sprite, CN_Alarm_01_1, 21u, GUI_DISP_LEMPY[0u], GUI_BLENDMODE_SRC_OVER); GUI_Translate_Display(WarningLight_Sprite, CN_Alarm_01_1, 21u, GUI_DISP_LEMPY[0u], GUI_BLENDMODE_SRC_OVER);
} }
else
{
GUI_General_Display(WarningLight_Sprite, SpriteSize, GUI_BLENDMODE_CUSTOM );
}
/*EBS指示灯*/ /*EBS指示灯*/
EBSLamp_State = Get_ID_18F0010B_Sig_EBS_Red_Warning_Lamp_State(); EBSLamp_State = Get_ID_18F0010B_Sig_EBS_Red_Warning_Lamp_State();
CanStatus2 = CAN_MSG_Status(ID_CanMsg18F0010B_Msg_Count); CanStatus2 = CAN_MSG_Status(ID_CanMsg18F0010B_Msg_Count);
if (K_Line_Set.K_Line_LID21 == 0x01u) if (((EBSLamp_State == 0x01u) || (CanStatus2 == CAN_SIG_LOST)) && (K_Line_Set.K_Line_LID21 == 0x01u))
{ {
if ((EBSLamp_State == 0x01u) || (CanStatus2 == CAN_SIG_LOST)) GUI_Translate_Display(WarningLight_Sprite, CN_Alarm_02_1, 21u, GUI_DISP_LEMPY[1u], GUI_BLENDMODE_SRC_OVER);
{
GUI_Translate_Display(WarningLight_Sprite, CN_Alarm_02_1, 21u, GUI_DISP_LEMPY[1u], GUI_BLENDMODE_SRC_OVER);
}
else
{
GUI_General_Display(WarningLight_Sprite, SpriteSize, GUI_BLENDMODE_CUSTOM );
}
} }
else else
{ {
......
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