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
ad596b87
Commit
ad596b87
authored
Oct 14, 2022
by
hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
同步BOOT的相关功能
parent
c475457e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
3 deletions
+22
-3
Popups.c
source/Application/Alarm/Popups.c
+1
-1
Common_Interface.c
source/Application/RTE/Common_Interface.c
+20
-2
Common_Interface.h
source/Application/RTE/Common_Interface.h
+1
-0
No files found.
source/Application/Alarm/Popups.c
View file @
ad596b87
...
...
@@ -955,7 +955,7 @@ void Popups_Polling(void)
}
/*59.--3--省油耗建议-请降低发动机转速*/
variable_1
=
Common_Get_Over
S
peed_Status
();
variable_1
=
Common_Get_Over
E
peed_Status
();
if
((
variable_1
==
1
)
&&
(
User_App
.
User_Speed
!=
0xFF
))
{
...
...
source/Application/RTE/Common_Interface.c
View file @
ad596b87
...
...
@@ -172,8 +172,7 @@ uint16_t Common_Get_Disp_E_Speed(void)
return
Disp_E_Speed
;
}
/*获取超速报警状态*/
uint8_t
Common_Get_OverSpeed_Status
(
void
)
uint8_t
Common_Get_OverEpeed_Status
(
void
)
{
uint8_t
OverSpeedStatus
=
0u
;
uint16_t
DispVSpeed
=
0u
;
...
...
@@ -203,6 +202,25 @@ uint8_t Common_Get_OverSpeed_Status(void)
return
OverSpeedStatus
;
}
/*获取超速报警状态*/
uint8_t
Common_Get_OverSpeed_Status
(
void
)
{
uint8_t
OverSpeedStatus
=
0u
;
uint16_t
DispVSpeed
=
0u
;
DispVSpeed
=
Common_Get_Disp_V_Speed
();
if
(
DispVSpeed
>=
1000u
)
{
OverSpeedStatus
=
1u
;
}
else
if
(
DispVSpeed
<=
960u
)
{
OverSpeedStatus
=
0u
;
}
return
OverSpeedStatus
;
}
uint8_t
Common_Get_OverSpeedLine_Status
(
void
)
{
uint8_t
OverSpeedStatus
=
0u
;
...
...
source/Application/RTE/Common_Interface.h
View file @
ad596b87
...
...
@@ -16,6 +16,7 @@ extern uint16_t Common_Get_Act_V_Speed(void);
extern
uint16_t
Common_Get_Act_E_Speed
(
void
);
extern
uint16_t
Common_Get_Disp_V_Speed
(
void
);
extern
uint16_t
Common_Get_Disp_E_Speed
(
void
);
extern
uint8_t
Common_Get_OverEpeed_Status
(
void
);
extern
uint8_t
Common_Get_OverSpeed_Status
(
void
);
/*获取超速报警状态*/
extern
uint8_t
Common_Get_OverSpeedLine_Status
(
void
);
...
...
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