Commit ec088745 authored by 王雅楠's avatar 王雅楠 🍎

🐞 fix:【56190】【56176】【54650】TCS灯更改(未增加周期跳变)

parent 8f0b8113
...@@ -232,7 +232,7 @@ static Tellib_uint16_t LED_TCS_Judgement(void) ...@@ -232,7 +232,7 @@ static Tellib_uint16_t LED_TCS_Judgement(void)
} }
else else
{ {
if(Get_CAN_CH0_ID_37B_Sig_TCS_Work_Mode == 0x0) if(Get_CAN_CH0_ID_37B_Sig_TCS_Work_Mode() == 0x0)
{ {
if(Get_CAN_CH0_ID_37B_Sig_TCS_Warning_Lamp() == 0x1) if(Get_CAN_CH0_ID_37B_Sig_TCS_Warning_Lamp() == 0x1)
{ {
...@@ -247,26 +247,15 @@ static Tellib_uint16_t LED_TCS_Judgement(void) ...@@ -247,26 +247,15 @@ static Tellib_uint16_t LED_TCS_Judgement(void)
LED_STATE = 0u; LED_STATE = 0u;
} }
} }
else if(Get_CAN_CH0_ID_37B_Sig_TCS_Work_Mode == 0x0) else if(Get_CAN_CH0_ID_37B_Sig_TCS_Work_Mode() == 0x1u)
{
if(Get_CAN_CH0_ID_37B_Sig_TCS_Warning_Lamp() == 0x1)
{ {
LED_STATE = 2u;/*TCS/亮*/ LED_STATE = 2u;/*TCS/亮*/
} }
else if(Get_CAN_CH0_ID_37B_Sig_TCS_Warning_Lamp() == 0x0)
{
LED_STATE = 0u;
}
else else
{ {
LED_STATE = 0u; LED_STATE = 0u;
} }
} }
else
{
;
}
}
return LED_STATE; return LED_STATE;
} }
static void LED_TCS_Execution(Tellib_uint16_t led_status) static void LED_TCS_Execution(Tellib_uint16_t led_status)
......
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