Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
haoJin750TFT
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
时昊
haoJin750TFT
Commits
bcdbb925
Commit
bcdbb925
authored
Nov 01, 2024
by
张金硕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:按键短按小于2s
parent
de9d1012
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Key_user.c
Firmware/Source/Component/Key/Key_user.c
+4
-4
No files found.
Firmware/Source/Component/Key/Key_user.c
View file @
bcdbb925
...
...
@@ -145,8 +145,8 @@ void Key_KL30_Init_EXample(void)
stKeyInitTem
.
enKeyIGNRealStatus
=
KEY_IG_OFF
;
Key_KL30_Init
(
&
u8KeyRamData
[
0
],
stKeyAttribute
,
&
stKeyInitTem
);
Key_Parameter_Set_Short_Press_
1_Time
(
50U
,
1
000U
);
Key_Parameter_Set_Short_Press_
2_Time
(
2000U
,
5
000U
);
Key_Parameter_Set_Short_Press_
2_Time
(
2100U
,
5
000U
);
Key_Parameter_Set_Short_Press_
1_Time
(
50U
,
2
000U
);
Key_Parameter_Set_Long_Press_1_Time
(
2000U
);
Key_Parameter_Set_Long_Press_2_Time
(
8000U
);
...
...
@@ -161,8 +161,8 @@ void Key_Wakeup_Init_EXample(void)
stKeyInitTem
.
enKeyIGNRealStatus
=
KEY_IG_OFF
;
Key_Wakeup_Init
(
&
u8KeyRamData
[
0
],
stKeyAttribute
,
&
stKeyInitTem
);
Key_Parameter_Set_Short_Press_
1_Time
(
50U
,
1
000U
);
Key_Parameter_Set_Short_Press_
2_Time
(
2000U
,
5
000U
);
Key_Parameter_Set_Short_Press_
2_Time
(
2100U
,
5
000U
);
Key_Parameter_Set_Short_Press_
1_Time
(
50U
,
2
000U
);
Key_Parameter_Set_Long_Press_1_Time
(
2000U
);
Key_Parameter_Set_Long_Press_2_Time
(
8000U
);
...
...
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