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
0f52d6bc
Commit
0f52d6bc
authored
Jul 31, 2024
by
陈家乐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:调整task任务,按键服务函数自检不响应,段码刷图函数放到20ms任务里
parent
b07ab8ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
+12
-6
Sys_Task_List.c
Firmware/Source/System/Sys_Task_List.c
+12
-6
No files found.
Firmware/Source/System/Sys_Task_List.c
View file @
0f52d6bc
...
...
@@ -36,15 +36,19 @@ void Sys_2ms_Tasks(void)
void
Sys_5ms_Tasks
(
void
)
{
Flash_Sync_Signal_Generation_Service
();
}
}
//uint8_t ljs_buf[200] = {0};
void
Sys_10ms_Tasks
(
void
)
{
//memset(ljs_buf, 0x55, 200);
Line_In_Debounce_Service
(
10u
);
Key_Service
();
if
(
Common_GetIgnOnTime
()
>=
3000
)
{
Key_Service
();
}
Data_Mileage_Write_EEPROM
();
Can_BusOff_Recover
(
10u
);
Turn_Left_Right_Lamp
();
...
...
@@ -55,7 +59,7 @@ void Sys_10ms_Tasks(void)
Protocol_Send_Service
();
//Uart0_IntSend(ljs_buf, 200) ;
FaultCode_Service
(
10u
);
}
}
void
Sys_20ms_Tasks
(
void
)
{
...
...
@@ -66,12 +70,12 @@ void Sys_20ms_Tasks(void)
Data_Coolant_Temp_Processing_Service
();
//Data_Voltage_Processing_Service();
BU98R10_Update_Request
();
}
void
Sys_50ms_Tasks
(
void
)
{
BU98R10_Update_Request
();
//
BU98R10_Update_Request();
LED_Driver_Scan_Refresh
();
Telltales_Management
();
Gauge_Service
();
...
...
@@ -110,6 +114,8 @@ void Sys_100ms_Tasks(void)
}
Clear_Navigation_St
();
//R_test = ADC_Read_Signal(ADC_CH_FUEL1);
}
...
...
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