Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
IVECO_NS216
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
时昊
IVECO_NS216
Commits
db3890cf
Commit
db3890cf
authored
Sep 14, 2024
by
时昊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat:修改瞬时油耗2s更新一次
parent
184f1c56
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
DataProcess.c
source/Appliciation/DataProcess.c
+7
-7
No files found.
source/Appliciation/DataProcess.c
View file @
db3890cf
...
...
@@ -1067,23 +1067,23 @@ void Data_Instantaneous_Fuel_Display_Service(void)
{
if
(
Data_InsFuel
.
Valid
)
{
if
(
Data_InsFuel
.
Value_Last
!=
Data_InsFuel
.
Value
)
{
Data_InsFuel
.
FreshTime
=
0
;
Data_InsFuel
.
Value_Last
=
Data_InsFuel
.
Value
;
}
//
if(Data_InsFuel.Value_Last != Data_InsFuel.Value)
//
{
//
Data_InsFuel.FreshTime = 0;
//
Data_InsFuel.Value_Last = Data_InsFuel.Value;
//
}
if
(
Data_InsFuel
.
V_Speed_backup
!=
Common_Get_Act_V_Speed
(
))
{
if
((
Common_Get_Act_V_Speed
(
)
>=
50
)
&&
(
Data_InsFuel
.
V_Speed_backup
<
50
))
{
Data_InsFuel
.
FreshTime
=
0
;
//
Data_InsFuel.FreshTime = 0;
Data_InsFuel
.
Display_Flag
=
1
;
}
if
((
Common_Get_Act_V_Speed
(
)
<
50
)
&&
(
Data_InsFuel
.
V_Speed_backup
>=
50
))
{
Data_InsFuel
.
FreshTime
=
0
;
//
Data_InsFuel.FreshTime = 0;
Data_InsFuel
.
Display_Flag
=
0
;
}
Data_InsFuel
.
V_Speed_backup
=
Common_Get_Act_V_Speed
(
);
...
...
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