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
TY
TianYing_ty100
Commits
ebafef50
Commit
ebafef50
authored
May 10, 2024
by
李俭双
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:TCS开关更改为不记忆,重上15电恢复默认
parent
5f081835
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
0 deletions
+7
-0
Key_user.c
Firmware/Source/Component/Key/Key_user.c
+4
-0
Key_user.h
Firmware/Source/Component/Key/Key_user.h
+1
-0
PowerManag_user.c
Firmware/Source/Component/PowerManagement/PowerManag_user.c
+2
-0
No files found.
Firmware/Source/Component/Key/Key_user.c
View file @
ebafef50
...
@@ -359,6 +359,10 @@ void MenuData_Unit_Init(void)
...
@@ -359,6 +359,10 @@ void MenuData_Unit_Init(void)
MenuData
.
Tpms_Unit
=
0
;
MenuData
.
Tpms_Unit
=
0
;
MenuData
.
Tcs_Val
=
1
;
MenuData
.
Tcs_Val
=
1
;
}
}
void
MenuData_TCS_Init
(
void
)
{
MenuData
.
Tcs_Val
=
1
;
}
uint8_t
ClearODO_Flag
=
0
;
uint8_t
ClearODO_Flag
=
0
;
void
TYW_RESET_ODO
(
void
)
void
TYW_RESET_ODO
(
void
)
...
...
Firmware/Source/Component/Key/Key_user.h
View file @
ebafef50
...
@@ -63,4 +63,5 @@ uint8_t Get_Dis_Tcs_Val(void);
...
@@ -63,4 +63,5 @@ uint8_t Get_Dis_Tcs_Val(void);
void
Key_Check_Service
(
void
);
void
Key_Check_Service
(
void
);
void
MenuData_Unit_Init
(
void
);
void
MenuData_Unit_Init
(
void
);
void
Maintain_Reset_Service
(
void
);
void
Maintain_Reset_Service
(
void
);
void
MenuData_TCS_Init
(
void
);
#endif
#endif
Firmware/Source/Component/PowerManagement/PowerManag_user.c
View file @
ebafef50
...
@@ -104,6 +104,7 @@ static void Power_Wakeup_Init(void)
...
@@ -104,6 +104,7 @@ static void Power_Wakeup_Init(void)
LINE_IN_Init
();
LINE_IN_Init
();
Key_KL30_Init_EXample
();
Key_KL30_Init_EXample
();
Line_In_KL15_ON_Init
();
Line_In_KL15_ON_Init
();
MenuData_TCS_Init
();
//Light_Sensor_Init_Example();//注意顺序1
//Light_Sensor_Init_Example();//注意顺序1
LED_Driver_Init_Example
();
//注意顺序2
LED_Driver_Init_Example
();
//注意顺序2
Fuel_KL30_Init
();
Fuel_KL30_Init
();
...
@@ -145,6 +146,7 @@ static void Power_IG_ON_Init(void)
...
@@ -145,6 +146,7 @@ static void Power_IG_ON_Init(void)
Telltales_UserInit
();
Telltales_UserInit
();
Fuel_KL15_Init
();
Fuel_KL15_Init
();
Data_Voltage_Init
();
Data_Voltage_Init
();
MenuData_TCS_Init
();
Data_Coolant_Temp_KL15_Init
();
Data_Coolant_Temp_KL15_Init
();
}
}
...
...
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