Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
V
VC66_7C
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
ISUZU
VC66_7C
Commits
1b09466d
Commit
1b09466d
authored
Feb 01, 2023
by
hu
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'development' into menutest
parents
b50ac3b3
2ec32a98
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
3 deletions
+13
-3
Gauges.c
source/Application/APP/GaugesMode/Gauges.c
+13
-3
No files found.
source/Application/APP/GaugesMode/Gauges.c
View file @
1b09466d
...
...
@@ -424,13 +424,23 @@ void GaugeMoveing(uint8_t GaugesNum)
else
{
/*水温表上升最后一格需要调整时间*/
if
((
GaugesNum
==
TempGauges
)
&&
(
DirecSign
[
TempGauges
]
==
1u
)
&&
(
GaugesCurrentPos
[
TempGauges
]
==
(
DestPostion
[
TempGauges
]
-
10u
)))
if
(
(
GaugesNum
==
TempGauges
)
&&
(
DirecSign
[
TempGauges
]
==
1u
)
&&
((
GaugesCurrentPos
[
TempGauges
]
/
10u
+
1u
)
>=
(
DestPostion
[
TempGauges
]
/
10u
))
)
{
GaugesMoveTimesTmp
=
4000u
;
if
(
DestPostion
[
TempGauges
]
-
GaugesCurrentPos
[
TempGauges
]
==
1u
)
{
GaugesMoveTimesTmp
=
(
4000u
-
(
GaugesDisDelayMax
[
DisplayModeTmp
[
GaugesNum
]][
GaugesModuleType
[
GaugesNum
]]
*
(
DestPostion
[
TempGauges
]
-
GaugesCurrentPos
[
TempGauges
]
-
1u
)));
}
else
{
GaugesMoveTimesTmp
=
GaugesDisDelayMax
[
DisplayModeTmp
[
GaugesNum
]][
GaugesModuleType
[
GaugesNum
]];
}
}
else
{
GaugesMoveTimesTmp
=
GaugesDisDelayMax
[
DisplayModeTmp
[
GaugesNum
]][
GaugesModuleType
[
GaugesNum
]];
GaugesMoveTimesTmp
=
GaugesDisDelayMax
[
DisplayModeTmp
[
GaugesNum
]][
GaugesModuleType
[
GaugesNum
]];
}
}
}
...
...
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