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

🐞 fix:代码评审问题:里程调用执行前判断是否初始化完成

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