Commit 2b8d85b0 authored by 李俭双's avatar 李俭双

🐞 fix:规范变更,对应更改燃油每格对应的阻值

parent 795d5308
...@@ -236,22 +236,22 @@ void Fuel_Gauges_Cal(uint8_t deltaTime) ...@@ -236,22 +236,22 @@ void Fuel_Gauges_Cal(uint8_t deltaTime)
{ {
DesFuelSetp = 3; DesFuelSetp = 3;
} }
else if (((DesFuelSetp == 1) || FuelInitFlag) && (FuelR < 630)) else if (((DesFuelSetp == 1) || FuelInitFlag) && (FuelR < 710))
{ {
DesFuelSetp = 2; DesFuelSetp = 2;
} }
else if (((DesFuelSetp == 0) || FuelInitFlag) && (FuelR < 880)) else if (((DesFuelSetp == 0) || FuelInitFlag) && (FuelR < 910))
{ {
DesFuelSetp = 1; DesFuelSetp = 1;
} }
} }
else if (FuelDir == FUEL_SEG_DOWN) else if (FuelDir == FUEL_SEG_DOWN)
{ {
if (((DesFuelSetp == 1) || FuelInitFlag) && (FuelR >= 880)) if (((DesFuelSetp == 1) || FuelInitFlag) && (FuelR >= 910))
{ {
DesFuelSetp = 0; DesFuelSetp = 0;
} }
else if (((DesFuelSetp == 2) || FuelInitFlag) && (FuelR >= 630)) else if (((DesFuelSetp == 2) || FuelInitFlag) && (FuelR >= 710))
{ {
DesFuelSetp = 1; DesFuelSetp = 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