Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiancetai
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
陈家乐
jiancetai
Commits
0c8aa074
Commit
0c8aa074
authored
Sep 03, 2025
by
何锐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat:修改对应按键
parent
61cea658
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
12 deletions
+18
-12
Key_user.c
YueJin_test_bench/source/Appliciation/Key_user.c
+18
-12
No files found.
YueJin_test_bench/source/Appliciation/Key_user.c
View file @
0c8aa074
...
...
@@ -199,6 +199,19 @@ void Key_Operation_SW6(Key_Event_en_t enKeyEvent)
UIDMondel
=
0
;
Display_TFT_Clear
();
if
(
Check_Control_Mode
==
1
)
{
Check_Control_Mode
=
2
;
}
else
if
(
Check_Control_Mode
==
2
)
{
Check_Control_Mode
=
1
;
}
else
{
Check_Control_Mode
=
2
;
}
//General_Number_Disp(Flag_SW6_Dis, 200, 20);
}
else
if
(
enKeyEvent
==
KEY_EVENT_LONG_PRESS
)
...
...
@@ -277,18 +290,6 @@ void Key_Operation_SW9(Key_Event_en_t enKeyEvent)
if
(
enKeyEvent
==
KEY_EVENT_SHORT_PRESS
)
{
UIDMondel
=
0
;
if
(
Check_Control_Mode
==
1
)
{
Check_Control_Mode
=
2
;
}
else
if
(
Check_Control_Mode
==
2
)
{
Check_Control_Mode
=
1
;
}
else
{
Check_Control_Mode
=
2
;
}
}
else
if
(
enKeyEvent
==
KEY_EVENT_LONG_PRESS
)
...
...
@@ -468,6 +469,11 @@ void User_CheckMode_Service(uint8_t CbkCycle)
{
Check_Control_Time
=
0
;
Check_Steps
++
;
if
(
Check_Control_Mode
==
1
)
{
Display_flag
(
Check_Steps
);
}
}
if
(
Check_Steps
>
Check_Couont
)
{
...
...
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