Commit 25a4e32b authored by 李俭双's avatar 李俭双

🐞 fix:43514,IGOFF时关闭背景灯

parent 343070c7
...@@ -116,6 +116,12 @@ void Gauge_Service(void) ...@@ -116,6 +116,12 @@ void Gauge_Service(void)
else else
{ {
Clear_Bu98(); Clear_Bu98();
LED_Driver_Channel_Set(LampChannel_0, LampCh0_35_ODO, LED_OFF);
LED_Driver_Channel_Set(LampChannel_0, LampCh0_34_TRIP, LED_OFF);
LED_Driver_Channel_Set(LampChannel_0, LampCh0_07_Screen_Time, LED_OFF);
LED_Driver_Channel_Set(LampChannel_0, LampCh0_08_KMH, LED_OFF);
LED_Driver_Channel_Set(LampChannel_0, LampCh0_09_MPH, LED_OFF);
} }
} }
......
...@@ -334,9 +334,9 @@ static void LED_Coolant_Execution(Tellib_uint16_t led_status) ...@@ -334,9 +334,9 @@ static void LED_Coolant_Execution(Tellib_uint16_t led_status)
} }
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)
...@@ -598,7 +598,7 @@ static Tellib_uint16_t LED_Tire_Pressure_Judgement(void) ...@@ -598,7 +598,7 @@ static Tellib_uint16_t LED_Tire_Pressure_Judgement(void)
} }
else else
{ {
LED_STATE = 0; LED_STATE = 2;
} }
return LED_STATE; return LED_STATE;
} }
...@@ -610,12 +610,18 @@ static void LED_Tire_Pressure_Execution(Tellib_uint16_t led_status) ...@@ -610,12 +610,18 @@ static void LED_Tire_Pressure_Execution(Tellib_uint16_t led_status)
LED_Driver_Channel_Set(LampChannel_0, LampCh0_26_Tire_PressureW, LED_OFF); LED_Driver_Channel_Set(LampChannel_0, LampCh0_26_Tire_PressureW, LED_OFF);
SEG_SET_LED_STS(em_SEG_Tire_Pressure_Alarm, 1); SEG_SET_LED_STS(em_SEG_Tire_Pressure_Alarm, 1);
} }
else else if ( led_status == 2u )
{ {
LED_Driver_Channel_Set(LampChannel_0, LampCh0_26_Tire_PressureW, LED_ON); LED_Driver_Channel_Set(LampChannel_0, LampCh0_26_Tire_PressureW, LED_ON);
LED_Driver_Channel_Set(LampChannel_0, LampCh0_27_Tire_PressureY, LED_OFF); LED_Driver_Channel_Set(LampChannel_0, LampCh0_27_Tire_PressureY, LED_OFF);
SEG_SET_LED_STS(em_SEG_Tire_Pressure_Alarm, 1); SEG_SET_LED_STS(em_SEG_Tire_Pressure_Alarm, 1);
} }
else
{
LED_Driver_Channel_Set(LampChannel_0, LampCh0_26_Tire_PressureW, LED_OFF);
LED_Driver_Channel_Set(LampChannel_0, LampCh0_27_Tire_PressureY, LED_OFF);
SEG_SET_LED_STS(em_SEG_Tire_Pressure_Alarm, 0);
}
} }
static Tellib_uint16_t LED_Navigato_Judgement(void) static Tellib_uint16_t LED_Navigato_Judgement(void)
......
...@@ -83,7 +83,7 @@ void Sys_100ms_Tasks(void) ...@@ -83,7 +83,7 @@ void Sys_100ms_Tasks(void)
Services_Mileage_Callback(); Services_Mileage_Callback();
Data_Voltage_Processing_Service(); Data_Voltage_Processing_Service();
S3_ServerCNTT(); S3_ServerCNTT();
ECU_FaultCode_Processing_Service(); //ECU_FaultCode_Processing_Service();
if (u8LEDDriverCheckCount >= 10U) if (u8LEDDriverCheckCount >= 10U)
{ {
......
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