Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
LE19
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
时昊
LE19
Commits
b1b4b28f
Commit
b1b4b28f
authored
Mar 21, 2024
by
时昊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat:40589修改超速报警是无效值时的策略
parent
63a21d60
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
9 deletions
+17
-9
Popups.c
le19源码/Source/Application/Alarm/Popups.c
+6
-2
Gauge_Display.c
le19源码/Source/Application/Display/Gauge_Display.c
+11
-7
No files found.
le19源码/Source/Application/Alarm/Popups.c
View file @
b1b4b28f
...
...
@@ -449,9 +449,13 @@ void Popups_Polling(void)
{
Popup_Request
(
POPUP_Over_Speed
);
}
if
(
m_Vspeed
<=
(
Over_Speed_Config
-
30
))
if
(
Over_Speed_Config
>=
30
)
{
PopupAndSound_Delete
(
POPUP_Over_Speed
);
if
(
m_Vspeed
<=
(
Over_Speed_Config
-
30
))
{
PopupAndSound_Delete
(
POPUP_Over_Speed
);
}
}
}
else
...
...
le19源码/Source/Application/Display/Gauge_Display.c
View file @
b1b4b28f
...
...
@@ -104,15 +104,18 @@ void Gauge_VSpeed_Display(void)
{
if
(
Gauge_VSpeed_Display_Flag
==
1
)
{
if
(
Common_Get_Disp_V_Speed
(
)
<=
(
Over_Speed_Config
-
30
)
)
if
(
Over_Speed_Config
>=
30
)
{
SEG_SET_VSpeed_NUM
(
1u
,
VSpeedDisplayValue
/
10
);
Gauge_VSpeed_Display_Flag
=
0
;
if
(
Common_Get_Disp_V_Speed
(
)
<=
(
Over_Speed_Config
-
30
))
{
SEG_SET_VSpeed_NUM
(
1u
,
VSpeedDisplayValue
/
10
);
Gauge_VSpeed_Display_Flag
=
0
;
}
else
{
SEG_SET_VSpeed_NUM
(
FLASH_SYNC_1Hz
,
VSpeedDisplayValue
/
10
);
}
}
else
{
SEG_SET_VSpeed_NUM
(
FLASH_SYNC_1Hz
,
VSpeedDisplayValue
/
10
);
}
}
else
{
...
...
@@ -176,6 +179,7 @@ uint16_t Get_Over_Speed_Config(uint8_t Para0)
Ret
=
1009
;
break
;
default:
Ret
=
0xffff
;
break
;
}
...
...
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