Commit e37f0e59 authored by 郑萍's avatar 郑萍

🐞 fix:56463 【豪进7500TFT】【燃油灯】夜间模式下,燃油一格时,燃油灯不闪烁,白色

parent f155ad03
......@@ -2759,11 +2759,26 @@ static void AMT630H_GUI_Fuel(uint8_t Fuel)
{
SetPagePic(GRAPHICS_PAGE_0, Pic_0552_503_529); /*黄色燃油灯*/
}
s_FuelLowTime = 0;
}
else if (FuelLevel == 1)
{
s_FuelLowTime++;
if (s_FuelLowTime <= 15)
{
SetPagePic(GRAPHICS_PAGE_0, Pic_0552_503_529); /*黄色燃油灯*/
}
if (s_FuelLowTime > 20)
{
s_FuelLowTime = 0;
}
}
else
{
SetPagePic(GRAPHICS_PAGE_0, Pic_0661_503_529); /*白色燃油灯*/
s_FuelLowTime = 0;
}
}
/*燃油格数走格*/
......
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