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
64e3e0bf
Commit
64e3e0bf
authored
Sep 10, 2024
by
张金硕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat:新增TYW内部清大计策略
parent
e046d7ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Key_user.c
Firmware/Source/Component/Key/Key_user.c
+3
-3
No files found.
Firmware/Source/Component/Key/Key_user.c
View file @
64e3e0bf
...
...
@@ -73,7 +73,7 @@ void Key_Operation_Right(Key_Event_en_t enKeyEvent)//确认
case
KEY_EVENT_LONG_PRESS_3
:
//5s
break
;
case
KEY_EVENT_LONG_PRESS_4
:
//10s
//
TYW_RESET_ODO();
TYW_RESET_ODO
();
Get_Into_OTA_Update_Mode
();
break
;
case
KEY_EVENT_OFF_TO_ON
:
...
...
@@ -355,7 +355,7 @@ void TYW_RESET_ODO(void)
if
((
Get_DispVechileSpeed
()
>=
1500
)
&&
(
Get_DispEngineSpeed
()
>=
12000
))
{
ClearODO_Flag
=
1
;
//
Data_Mileage_Clear();
Data_Mileage_Clear
();
}
}
}
...
...
@@ -390,7 +390,7 @@ void My_Key_Service(void)
/* 自检时不可操作按键 */
if
(
g_u8SelfCheck
)
{
if
(
Get_ActualVechileSpeed
()
==
0
)
if
(
(
Get_ActualVechileSpeed
()
==
0
)
||
((
Get_DispVechileSpeed
()
>=
1990
)
&&
(
Get_DispEngineSpeed
()
>=
12000
))
)
{
Key_Service
();
}
...
...
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