Commit 89f5cd86 authored by 陈家乐's avatar 陈家乐

🐞 fix:61250 里程微调

parent 1b99e267
......@@ -132,17 +132,17 @@ void Sys_Exact_50us_Tasks(void)
static uint32_t task_1ms = 0u;
static uint32_t task_100ms = 0u;
Can_Write_Fun(&CAN_CH0_CanMsgTxOp, 50u);
DoCAN_Timer_Update(50u);
DoCAN_Timer_Update(50u);
GenDelay_Tick();
task_100ms++;
if(task_100ms >= 2000)
if(task_100ms >= 1996)
{
task_100ms = 0u;
task_100ms = 0u;
if(Get_MileageInit_Status() == 0X5AA53AA3UL)
{
Data_Mileage_ISR();
}
}
task_1ms++;
if ( task_1ms >=20U )
......
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