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
de9d1012
Commit
de9d1012
authored
Nov 01, 2024
by
张金硕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:修复ABS和按键滤波
parent
84e404cd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Key_user.c
Firmware/Source/Component/Key/Key_user.c
+2
-2
Line_In_user.c
Firmware/Source/Component/Line_In/Line_In_user.c
+1
-1
No files found.
Firmware/Source/Component/Key/Key_user.c
View file @
de9d1012
...
...
@@ -145,7 +145,7 @@ 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
,
2
000U
);
Key_Parameter_Set_Short_Press_1_Time
(
50U
,
1
000U
);
Key_Parameter_Set_Short_Press_2_Time
(
2000U
,
5000U
);
Key_Parameter_Set_Long_Press_1_Time
(
2000U
);
...
...
@@ -161,7 +161,7 @@ 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
,
2
000U
);
Key_Parameter_Set_Short_Press_1_Time
(
50U
,
1
000U
);
Key_Parameter_Set_Short_Press_2_Time
(
2000U
,
5000U
);
Key_Parameter_Set_Long_Press_1_Time
(
2000U
);
...
...
Firmware/Source/Component/Line_In/Line_In_user.c
View file @
de9d1012
...
...
@@ -9,7 +9,7 @@ const Line_In_Attribute_st g_stLineInAttribute[LINE_IN_MAX] =
{
LEVEL_LOW
,
LEVEL_HIGH
,
LINE_IN_IG_ON
,
20U
,
20U
,
Get_LINE_IN_Turn_Right
,
},
/*P9*/
{
LEVEL_LOW
,
LEVEL_HIGH
,
LINE_IN_IG_ON
,
40U
,
20U
,
Get_LINE_IN_High_Beam
,
},
/*P18*/
{
LEVEL_HIGH
,
LEVEL_LOW
,
LINE_IN_IG_ON
,
125U
,
20U
,
Get_LINE_IN_Efi_Fault
,
},
/*P15*/
{
LEVEL_LOW
,
LEVEL_HIGH
,
LINE_IN_IG_ON
,
1
25
U
,
0U
,
Get_LINE_IN_ABS
,
},
/*P7*/
{
LEVEL_LOW
,
LEVEL_HIGH
,
LINE_IN_IG_ON
,
1
70
U
,
0U
,
Get_LINE_IN_ABS
,
},
/*P7*/
{
LEVEL_HIGH
,
LEVEL_LOW
,
LINE_IN_IG_ON
,
125U
,
20U
,
Get_LINE_IN_Auto_Start_Stop
,
},
/*P12*/
{
LEVEL_HIGH
,
LEVEL_LOW
,
LINE_IN_IG_ON
,
2000U
,
20U
,
Get_LINE_IN_Oil_Pressure_Alert
,
},
/*P21*/
{
LEVEL_LOW
,
LEVEL_HIGH
,
LINE_IN_IG_ON
,
125U
,
20U
,
Get_LINE_IN_Coolant_Temperature
},
/*P11*/
...
...
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