Commit 0545fb2e authored by 李俭双's avatar 李俭双

🐞 fix:更改远光灯硬线信号低有效

parent d9d80769
...@@ -8,7 +8,7 @@ const Line_In_Attribute_st g_stLineInAttribute[LINE_IN_MAX] = ...@@ -8,7 +8,7 @@ const Line_In_Attribute_st g_stLineInAttribute[LINE_IN_MAX] =
{ {
{LEVEL_LOW, LEVEL_HIGH, LINE_IN_IG_ON, 20U, 20U, Get_LINE_IN_TurnLeft, }, {LEVEL_LOW, LEVEL_HIGH, LINE_IN_IG_ON, 20U, 20U, Get_LINE_IN_TurnLeft, },
{LEVEL_LOW, LEVEL_HIGH, LINE_IN_IG_ON, 20U, 20U, Get_LINE_IN_TurnRight, }, {LEVEL_LOW, LEVEL_HIGH, LINE_IN_IG_ON, 20U, 20U, Get_LINE_IN_TurnRight, },
{LEVEL_LOW, LEVEL_HIGH, LINE_IN_IG_ON, 60U, 20U, Get_LINE_IN_HighBeam, }, {LEVEL_HIGH, LEVEL_LOW, LINE_IN_IG_ON, 60U, 20U, Get_LINE_IN_HighBeam, },
{LEVEL_HIGH, LEVEL_LOW, LINE_IN_IG_ON, 100U, 20U, Get_LINE_IN_FAULT_ELECTROSPRAY, }, {LEVEL_HIGH, LEVEL_LOW, LINE_IN_IG_ON, 100U, 20U, Get_LINE_IN_FAULT_ELECTROSPRAY, },
{LEVEL_HIGH, LEVEL_LOW, LINE_IN_IG_ON, 100U, 20U, Get_LINE_IN_Fault_ABS, }, {LEVEL_HIGH, LEVEL_LOW, LINE_IN_IG_ON, 100U, 20U, Get_LINE_IN_Fault_ABS, },
{LEVEL_HIGH, LEVEL_LOW, LINE_IN_IG_ON, 100U, 20U, Get_LINE_IN_Oil_Pressure, }, {LEVEL_HIGH, LEVEL_LOW, LINE_IN_IG_ON, 100U, 20U, Get_LINE_IN_Oil_Pressure, },
......
...@@ -268,7 +268,7 @@ static void LED_Fuel_Execution(Tellib_uint16_t led_status) ...@@ -268,7 +268,7 @@ static void LED_Fuel_Execution(Tellib_uint16_t led_status)
{ {
LED_Driver_Channel_Set(LampChannel_0, LampCh0_21_Fuel_W, LED_OFF); LED_Driver_Channel_Set(LampChannel_0, LampCh0_21_Fuel_W, LED_OFF);
LED_Driver_Channel_Set(LampChannel_0, LampCh0_20_Fuel_Y, LED_OFF); LED_Driver_Channel_Set(LampChannel_0, LampCh0_20_Fuel_Y, LED_OFF);
SEG_SET_LED_STS(em_SEG_Fuel,0); //SEG_SET_LED_STS(em_SEG_Fuel,0);
} }
} }
static Tellib_uint16_t LED_Coolant_Judgement(void) static Tellib_uint16_t LED_Coolant_Judgement(void)
...@@ -318,16 +318,17 @@ static void LED_Coolant_Execution(Tellib_uint16_t led_status) ...@@ -318,16 +318,17 @@ 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 == 0u )
{ {
LED_Driver_Channel_Set(LampChannel_0, LampCh0_11_Temp_AlarmR, 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);
SEG_SET_LED_STS(em_SEG_Coolant, 1); 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);
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, 0); //SEG_SET_LED_STS(em_SEG_Coolant, 0);
} }
} }
static Tellib_uint16_t LED_Bluetooth_Judgement(void) static Tellib_uint16_t LED_Bluetooth_Judgement(void)
...@@ -470,6 +471,14 @@ static void LED_Auto_Start_Execution(Tellib_uint16_t led_status) ...@@ -470,6 +471,14 @@ static void LED_Auto_Start_Execution(Tellib_uint16_t led_status)
static Tellib_uint16_t LED_Maintain_Judgement(void) static Tellib_uint16_t LED_Maintain_Judgement(void)
{ {
Tellib_uint16_t LED_STATE = 0u; Tellib_uint16_t LED_STATE = 0u;
if(Get_Data_Maintenace_Interval_Processing() == 0)
{
LED_STATE = 1;
}
else
{
LED_STATE = 0;
}
return LED_STATE; return LED_STATE;
} }
static void LED_Maintain_Execution(Tellib_uint16_t led_status) static void LED_Maintain_Execution(Tellib_uint16_t led_status)
...@@ -614,7 +623,7 @@ void Turn_Left_Right_Lamp(void) ...@@ -614,7 +623,7 @@ void Turn_Left_Right_Lamp(void)
{ {
if ( SYS_OPR_STAT_IGN_ON ) if ( SYS_OPR_STAT_IGN_ON )
{ {
if (Common_GetIgnOnTime() >= 3000) if ((Common_GetIgnOnTime() >= 3000) && (ClearODO_Flag == 0))
{ {
if (Line_In_Get_Status(LINE_IN_TurnLeft)) if (Line_In_Get_Status(LINE_IN_TurnLeft))
{ {
......
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