Commit 787468e1 authored by 王雅楠's avatar 王雅楠

🐞 fix:修复ES灯点亮逻辑

parent 5841c36a
......@@ -2743,13 +2743,17 @@ static void AMT630H_GUI_Light()
{
SetPagePic(GRAPHICS_PAGE_0, Pic_0740_682_21);
}
if(Get_TelltalesLedSts(em_LED_E))
if(Get_TelltalesLedSts(em_LED_E) == 1)
{
SetPagePic(GRAPHICS_PAGE_0, Pic_0748_194_26);
SetPagePic(GRAPHICS_PAGE_0, Pic_0748_194_26);//E
}
if(Get_TelltalesLedSts(em_LED_S))
else if(Get_TelltalesLedSts(em_LED_E) == 2)
{
SetPagePic(GRAPHICS_PAGE_0, Pic_0749_192_26);
SetPagePic(GRAPHICS_PAGE_0, Pic_0749_192_26);//S
}
else
{
;
}
}
......
......@@ -283,7 +283,7 @@ static Tellib_uint16_t LED_HEV_Judgement(void)
}
else
{
if((Get_CAN_CH0_ID_111_Sig_ISG_Ready() == 0x01UL)||((Get_CAN_CH0_ID_111_Sig_ISG_Power() == 1u)&&(Get_CAN_CH0_ID_111_Sig_ISG_Power_Enable() == 0u)))
if((Get_CAN_CH0_ID_111_Sig_ISG_Ready() == 0x01UL)||((Get_CAN_CH0_ID_111_Sig_ISG_Power() == 1u)&&(Get_CAN_CH0_ID_111_Sig_ISG_Power_Enable() == 2u))||((Get_CAN_CH0_ID_111_Sig_ISG_Power() == 1u)&&(Get_CAN_CH0_ID_111_Sig_ISG_Power_Enable() == 1u)))
{
LED_STATE = 1u;
}
......
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