Commit 845936e2 authored by 李俭双's avatar 李俭双

🐞 fix:依系统要求,使用车厂提供的单位转换系数进行计算

parent 4846ea4f
......@@ -168,7 +168,8 @@ uint32_t Common_GetSocTime(void)
*/
uint32_t Data_Km_To_Mile(uint32_t Km)
{
Km = (Km * 64u) / 103u;
Km *= 100;
Km /= 161;
return Km;
}
/**
......
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