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
791aebef
Commit
791aebef
authored
Feb 21, 2024
by
时昊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:修改左键屏蔽报警,会切换设置界面问题
parent
1870eb5f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
Key_user.c
source/Appliciation/Key_user.c
+8
-1
No files found.
source/Appliciation/Key_user.c
View file @
791aebef
...
@@ -14,7 +14,14 @@ void Key_Operation_Left(Key_Event_en_t enKeyEvent)
...
@@ -14,7 +14,14 @@ void Key_Operation_Left(Key_Event_en_t enKeyEvent)
switch
(
enKeyEvent
)
switch
(
enKeyEvent
)
{
{
case
KEY_EVENT_SHORT_PRESS_1
:
case
KEY_EVENT_SHORT_PRESS_1
:
Menu_Service
(
MENU_KEY_LEFT_SHORT
);
if
(
Pop_Alarm_Get_Current
()
<
POP_ALARM_MAX
)
//有报警时
{
;
//不传按键动作
}
else
{
Menu_Service
(
MENU_KEY_LEFT_SHORT
);
//无报警时,传按键动作
}
Pop_Alarm_Hide_Current
();
Pop_Alarm_Hide_Current
();
break
;
break
;
case
KEY_EVENT_SHORT_PRESS_2
:
case
KEY_EVENT_SHORT_PRESS_2
:
...
...
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