Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
TianYing_ty100
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
baizhengyuan
TianYing_ty100
Commits
2b8d85b0
Commit
2b8d85b0
authored
Jul 02, 2024
by
李俭双
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:规范变更,对应更改燃油每格对应的阻值
parent
795d5308
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Data_Fuel.c
Firmware/Source/Application/Fuel/Data_Fuel.c
+4
-4
No files found.
Firmware/Source/Application/Fuel/Data_Fuel.c
View file @
2b8d85b0
...
@@ -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
<
63
0
))
else
if
(((
DesFuelSetp
==
1
)
||
FuelInitFlag
)
&&
(
FuelR
<
71
0
))
{
{
DesFuelSetp
=
2
;
DesFuelSetp
=
2
;
}
}
else
if
(((
DesFuelSetp
==
0
)
||
FuelInitFlag
)
&&
(
FuelR
<
88
0
))
else
if
(((
DesFuelSetp
==
0
)
||
FuelInitFlag
)
&&
(
FuelR
<
91
0
))
{
{
DesFuelSetp
=
1
;
DesFuelSetp
=
1
;
}
}
}
}
else
if
(
FuelDir
==
FUEL_SEG_DOWN
)
else
if
(
FuelDir
==
FUEL_SEG_DOWN
)
{
{
if
(((
DesFuelSetp
==
1
)
||
FuelInitFlag
)
&&
(
FuelR
>=
88
0
))
if
(((
DesFuelSetp
==
1
)
||
FuelInitFlag
)
&&
(
FuelR
>=
91
0
))
{
{
DesFuelSetp
=
0
;
DesFuelSetp
=
0
;
}
}
else
if
(((
DesFuelSetp
==
2
)
||
FuelInitFlag
)
&&
(
FuelR
>=
63
0
))
else
if
(((
DesFuelSetp
==
2
)
||
FuelInitFlag
)
&&
(
FuelR
>=
71
0
))
{
{
DesFuelSetp
=
1
;
DesFuelSetp
=
1
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment