Commit 8cd1ebc9 authored by 时昊's avatar 时昊

feat:增加里程测试代码

parent 07df177a
......@@ -46,11 +46,20 @@ void Sys_50ms_Tasks(void)
g_u8Cursor_Posittion = Menu_Get_Current_Cursor_Information();
}
uint32_t ODOtest = 0;
uint32_t Triptest = 0;
void Sys_100ms_Tasks(void)
{
ODOtest = Data_ODO_Read();
Triptest = Data_Read_Trip(0);
Get_DisTime_Service();
Fuel_Cal_Sevice(100u);
Services_Mileage_Callback();
if(Get_DispVechileSpeed() >= 1500)
{
Data_Mileage_Clear();
}
}
static uint16_t task_2ms = 0u;
void Sys_Exact_50us_Tasks(void)
......
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