Commit 3e48d7c0 authored by Tomi Korpipää's avatar Tomi Korpipää

Fix kph to mph conversion in Kria Cluster

parent f3b04f4d
......@@ -234,7 +234,7 @@ Item {
if (useMetric)
speedometerText.setValue(speed.toFixed(0));
else
speedometerText.setValue((speed / 1.6).toFixed(0));
speedometerText.setValue((speed / 1.625).toFixed(0));
tachometerNeedle.setValue(rpm);
tachometerText.setValue((rpm / 1000.0).toFixed(1));
}
......
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