Commit 9aca425f authored by 陈家乐's avatar 陈家乐

🐞 fix:蓝牙灯和导航在清大计扫表时不显示

parent 8a1c65cd
......@@ -74,7 +74,9 @@ void Gauge_Service(void)
Check_SEG_Display();
for(k = 0; k < LampCh0_MAX; k ++)
{
if (k == LampCh0_24_Keys || k == LampCh0_21_Fuel_W || k == LampCh0_13_Temp_AlarmW || k == LampCh0_26_Tire_PressureW)
if (k == LampCh0_24_Keys || k == LampCh0_21_Fuel_W \
|| k == LampCh0_13_Temp_AlarmW || k == LampCh0_26_Tire_PressureW \
|| k == LampCh0_23_Bluetooth)
{
;
}
......@@ -84,6 +86,13 @@ void Gauge_Service(void)
}
}
LED_Driver_Channel_Set(LampChannel_0, LampCh0_10_Navigator1, LED_OFF);
LED_Driver_Channel_Set(LampChannel_0, LampCh0_19_Navigator2, LED_OFF);
LED_Driver_Channel_Set(LampChannel_0, LampCh0_17_Length2, LED_OFF);
LED_Driver_Channel_Set(LampChannel_0, LampCh0_18_Length1, LED_OFF);
LED_Driver_Channel_Set(LampChannel_0, LampCh0_14_ARRIVED_SERVICE_AREA, LED_OFF);
LED_Driver_Channel_Set(LampChannel_0, LampCh0_15_ARRIVED_TOLLGATE, LED_OFF);
LED_Driver_Channel_Set(LampChannel_0, LampCh0_16_ARRIVED_TUNNEL, LED_OFF);
}
else
{
......
......@@ -4505,8 +4505,10 @@ void Check_SEG_Display(void)
SEG_SET_Voltage_NUM(1, a * 111);
//SEG_SET_Navigation_STS(0, 0, 0);
for (i = 0; i < SEG_LED_MAX; i++)
{
if(i != em_SEG_Bluetooth)
SEG_SET_LED_STS(i, 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