Commit 5479b5e7 authored by 李俭双's avatar 李俭双

🐞 fix:代码评审问题:使用枚举命名变量值

parent 72a7411c
......@@ -74,7 +74,7 @@ void Gauge_Service(void)
Check_SEG_Display();
for(k = 0; k < LampCh0_MAX; k ++)
{
if (k == 24 || k == 21 || k == 13 || k == 26)
if (k == LampCh0_24_Keys || k == LampCh0_21_Fuel_W || k == LampCh0_13_Temp_AlarmW || k == LampCh0_26_Tire_PressureW)
{
;
}
......
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