Commit 24fc3f0c authored by 陈家乐's avatar 陈家乐

🐞 fix:49458 前轮胎压在2.3bar时,胎压报警灯黄色点亮。修改了胎压报警灯亮的判断条件

parent 6f786dd9
...@@ -74,7 +74,7 @@ void Gauge_Service(void) ...@@ -74,7 +74,7 @@ void Gauge_Service(void)
Check_SEG_Display(); Check_SEG_Display();
for(k = 0; k < LampCh0_MAX; k ++) for(k = 0; k < LampCh0_MAX; k ++)
{ {
if (k == 24) if (k == 24 || k == 21 || k == 13 || k == 26)
{ {
k ++; k ++;
} }
......
...@@ -286,14 +286,18 @@ static void LED_Fuel_Execution(Tellib_uint16_t led_status) ...@@ -286,14 +286,18 @@ static void LED_Fuel_Execution(Tellib_uint16_t led_status)
static Tellib_uint16_t LED_Coolant_Judgement(void) static Tellib_uint16_t LED_Coolant_Judgement(void)
{ {
Tellib_uint16_t LED_STATE = 0u; Tellib_uint16_t LED_STATE = 0u;
if(GET_DataCollantTempWarnflg() == 2) if(ClearODO_Flag == 1)
{ {
LED_STATE = 2; LED_STATE = 1;
} }
else if (GET_DataCollantTempWarnflg() == 1) else if (GET_DataCollantTempWarnflg() == 1)
{ {
LED_STATE = 3; LED_STATE = 3;
} }
else if(GET_DataCollantTempWarnflg() == 2)
{
LED_STATE = 2;
}
else else
{ {
LED_STATE = 4; LED_STATE = 4;
...@@ -621,7 +625,11 @@ static void LED_Lateral_Strut_Execution(Tellib_uint16_t led_status) ...@@ -621,7 +625,11 @@ static void LED_Lateral_Strut_Execution(Tellib_uint16_t led_status)
static Tellib_uint16_t LED_Tire_Pressure_Judgement(void) static Tellib_uint16_t LED_Tire_Pressure_Judgement(void)
{ {
Tellib_uint16_t LED_STATE = 0u; Tellib_uint16_t LED_STATE = 0u;
if((Get_Front_FirstLearn_Flag() == 2) || (Get_Rear_FirstLearn_Flag() == 2)) if(ClearODO_Flag == 1)
{
LED_STATE = 1;
}
else if((Get_Front_FirstLearn_Flag() == 2) || (Get_Rear_FirstLearn_Flag() == 2))
{ {
if(Get_Led_TPMS_Waring() == 1) if(Get_Led_TPMS_Waring() == 1)
{ {
......
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