fix: treat yutong mqtt mileage as meters

This commit is contained in:
lingniu
2026-07-02 01:08:59 +08:00
parent 7ad1a25e8e
commit 4f2cded760
2 changed files with 15 additions and 5 deletions

View File

@@ -197,8 +197,5 @@ func looksLikeVIN(value string) bool {
}
func normalizeTotalMileageKM(value float64) float64 {
if value > 1_000_000 {
return value / 1000
}
return value
return value / 1000
}