Commit fa2b2673 authored by 李冠华's avatar 李冠华

feat:修改混动车型故障码背光控制逻辑

parent bb5bff99
...@@ -978,26 +978,28 @@ static void LED_Working_Hours_One_Execution(Tellib_uint16_t led_status) ...@@ -978,26 +978,28 @@ static void LED_Working_Hours_One_Execution(Tellib_uint16_t led_status)
static Tellib_uint16_t LED_Fault_Codes_Judgement(void) static Tellib_uint16_t LED_Fault_Codes_Judgement(void)
{ {
Tellib_uint16_t LED_STATE = 0u; Tellib_uint16_t LED_STATE = 0u;
// if (Line_In_Get_Status(LINE_IN_HighBeam)) #if (PART_NUMBER == G54_A01)
// { if (Get_FaultCode_Valid() == 1U)
// LED_STATE = 1; {
// } LED_STATE = 1U;
// else }
// { else
// LED_STATE = 0; {
// } LED_STATE = 0U;
}
#endif
return LED_STATE; return LED_STATE;
} }
static void LED_Fault_Codes_Execution(Tellib_uint16_t led_status) static void LED_Fault_Codes_Execution(Tellib_uint16_t led_status)
{ {
if (led_status == 1u) if (led_status == 1u)
{ {
// LED_Driver_Channel_Set(LampChannel_0, LampCh0_07_Key_ISTOP, LED_ON); LED_Driver_Channel_Set(LampChannel_0, LampCh0_19_Fault_Codes_W, LED_ON);
// SEG_SET_LED_STS(1,1); // SEG_SET_LED_STS(1,1);
} }
else else
{ {
// LED_Driver_Channel_Set(LampChannel_0, LampCh0_07_Key_ISTOP, LED_OFF); LED_Driver_Channel_Set(LampChannel_0, LampCh0_19_Fault_Codes_W, LED_OFF);
// SEG_SET_LED_STS(1,0); // SEG_SET_LED_STS(1,0);
} }
} }
......
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