Commit 0f52d6bc authored by 陈家乐's avatar 陈家乐

🐞 fix:调整task任务,按键服务函数自检不响应,段码刷图函数放到20ms任务里

parent b07ab8ca
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment