Commit 15706871 authored by 陈家乐's avatar 陈家乐

🐞 fix:代码评审问题:里程累计在初始化完成后在中断内调用执行

parent f0d93af9
......@@ -137,7 +137,11 @@ void Sys_Exact_50us_Tasks(void)
if(task_100ms >= 2000)
{
task_100ms = 0u;
Data_Mileage_ISR();
if(Milleage_InitFlag == 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