Commit a7ea182d authored by 李俭双's avatar 李俭双

🐞 fix:47975 【天鹰TY200】【水温报警灯】自检期间白色点亮

parent 87aab630
...@@ -296,7 +296,7 @@ static Tellib_uint16_t LED_Coolant_Judgement(void) ...@@ -296,7 +296,7 @@ static Tellib_uint16_t LED_Coolant_Judgement(void)
} }
else else
{ {
LED_STATE = 1; LED_STATE = 4;
} }
return LED_STATE; return LED_STATE;
} }
...@@ -330,12 +330,18 @@ static void LED_Coolant_Execution(Tellib_uint16_t led_status) ...@@ -330,12 +330,18 @@ static void LED_Coolant_Execution(Tellib_uint16_t led_status)
SEG_SET_LED_STS(em_SEG_Coolant, 0); SEG_SET_LED_STS(em_SEG_Coolant, 0);
} }
} }
else if ( led_status == 1u ) else if ( led_status == 4u )
{ {
LED_Driver_Channel_Set(LampChannel_0, LampCh0_13_Temp_AlarmW, LED_ON); LED_Driver_Channel_Set(LampChannel_0, LampCh0_13_Temp_AlarmW, LED_ON);
LED_Driver_Channel_Set(LampChannel_0, LampCh0_11_Temp_AlarmR, LED_OFF); LED_Driver_Channel_Set(LampChannel_0, LampCh0_11_Temp_AlarmR, LED_OFF);
SEG_SET_LED_STS(em_SEG_Coolant, 1); SEG_SET_LED_STS(em_SEG_Coolant, 1);
} }
else if ( led_status == 1u )
{
LED_Driver_Channel_Set(LampChannel_0, LampCh0_13_Temp_AlarmW, LED_OFF);
LED_Driver_Channel_Set(LampChannel_0, LampCh0_11_Temp_AlarmR, LED_ON);
SEG_SET_LED_STS(em_SEG_Coolant, 1);
}
else else
{ {
LED_Driver_Channel_Set(LampChannel_0, LampCh0_13_Temp_AlarmW, LED_OFF); LED_Driver_Channel_Set(LampChannel_0, LampCh0_13_Temp_AlarmW, LED_OFF);
......
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