Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
TianYing_ty100
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
baizhengyuan
TianYing_ty100
Commits
7d29024b
Commit
7d29024b
authored
Sep 18, 2024
by
陈家乐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:61981 天有为清零策略判断条件改为实际车速
parent
dec2082a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
Key_user.c
Firmware/Source/Component/Key/Key_user.c
+5
-1
No files found.
Firmware/Source/Component/Key/Key_user.c
View file @
7d29024b
...
...
@@ -483,6 +483,7 @@ void Menu_u8Data_Updata_Process(uint8_t updateDir , uint8_t datMax, uint8_t datM
*
dat
=
temp
;
}
extern
uint8_t
TCS_Init_flag_220
;
void
MenuData_Unit_Init
(
void
)
{
uint8_t
TCS
[
1
]
=
{
0
};
...
...
@@ -492,6 +493,7 @@ void MenuData_Unit_Init(void)
//MenuData.Tpms_Unit = 0;
MenuData
.
Tcs_Val
=
TCS
[
0
];
TCS_Init_flag_220
=
1
;
}
void
MenuData_TCS_Init
(
void
)
{
...
...
@@ -502,6 +504,8 @@ void MenuData_TCS_Init(void)
PageType
=
Page_Menu
;
Hour_Set
=
0
;
Minute_Set
=
0
;
TCS_Init_flag_220
=
1
;
}
uint8_t
ClearODO_Flag
=
0
;
...
...
@@ -513,7 +517,7 @@ void TYW_RESET_ODO(void)
{
if
(
ClearODO_Flag
<
1
)
{
if
((
Get_
DispVechileSpeed
()
>=
1990
)
&&
(
Get_DispEngineSpeed
()
>=
12000
))
if
((
Get_
ActualVechileSpeed
()
/*Get_DispVechileSpeed()*/
>=
1990
)
&&
(
Get_DispEngineSpeed
()
>=
12000
))
{
ClearODO_Flag
=
1
;
Data_Mileage_Clear
();
...
...
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