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
575578b7
Commit
575578b7
authored
2 years ago
by
hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整转速超高报警BUG
parent
b7bf0637
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
4 deletions
+16
-4
Common_Interface.c
source/Application/RTE/Common_Interface.c
+16
-4
No files found.
source/Application/RTE/Common_Interface.c
View file @
575578b7
...
...
@@ -174,13 +174,25 @@ uint8_t Common_Get_OverSpeed_Status(void)
{
uint8_t
OverSpeedStatus
=
0u
;
uint16_t
DispVSpeed
=
0u
;
DispVSpeed
=
Common_Get_Disp_V_Speed
();
uint16_t
DataOverSpeedValue
=
0u
;
DataOverSpeedValue
=
K_Line_Set
.
Sig
.
K_Line_LID45
;
DataOverSpeedValue
*=
100u
;
if
(
DispVSpeed
>=
1000u
)
DispVSpeed
=
Common_Get_Disp_E_Speed
();
if
(
K_Line_Set
.
K_Line_LID45
!=
0xFF
)
{
OverSpeedStatus
=
1u
;
if
(
DispVSpeed
>=
DataOverSpeedValue
+
20
)
{
OverSpeedStatus
=
1u
;
}
else
if
(
DispVSpeed
<=
DataOverSpeedValue
)
{
OverSpeedStatus
=
0u
;
}
}
else
if
(
DispVSpeed
<=
960u
)
else
{
OverSpeedStatus
=
0u
;
}
...
...
This diff is collapsed.
Click to expand it.
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