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
d94df7b3
Commit
d94df7b3
authored
May 08, 2024
by
李俭双
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:屏蔽不使用的光感相关函数
parent
845936e2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
PowerManag_user.c
Firmware/Source/Component/PowerManagement/PowerManag_user.c
+2
-2
Sys_Task_List.c
Firmware/Source/System/Sys_Task_List.c
+1
-1
No files found.
Firmware/Source/Component/PowerManagement/PowerManag_user.c
View file @
d94df7b3
...
...
@@ -58,7 +58,7 @@ static void Power_KL30_Init(void)
Data_Coolant_Temp_KL30_Init
();
LINE_IN_Init
();
Key_KL30_Init_EXample
();
Light_Sensor_Init_Example
();
//注意顺序1
//
Light_Sensor_Init_Example();//注意顺序1
LED_Driver_Init_Example
();
//注意顺序2
Data_User_Mileage_KL30Init
();
Fuel_KL30_Init
();
...
...
@@ -102,7 +102,7 @@ static void Power_Wakeup_Init(void)
LINE_IN_Init
();
Key_KL30_Init_EXample
();
Line_In_KL15_ON_Init
();
Light_Sensor_Init_Example
();
//注意顺序1
//
Light_Sensor_Init_Example();//注意顺序1
LED_Driver_Init_Example
();
//注意顺序2
Fuel_KL30_Init
();
TimerM_PWM_counter_Output_Init
(
TIMERM_COUNTER0
,
400
,
64000000
);
...
...
Firmware/Source/System/Sys_Task_List.c
View file @
d94df7b3
...
...
@@ -86,7 +86,7 @@ void Sys_100ms_Tasks(void)
u8LEDDriverCheckCount
=
0U
;
LED_Driver_Work_Check
();
LED_Driver_Service_Immediate
();
//注意顺序1
ALS_Service
();
//注意顺序2
//
ALS_Service();//注意顺序2
}
else
{
...
...
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