aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/qml/Main.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/qml/Main.qml b/app/qml/Main.qml
index 29704fb..186e345 100644
--- a/app/qml/Main.qml
+++ b/app/qml/Main.qml
@@ -31,7 +31,7 @@ ApplicationWindow {
onAuthorized: {
VehicleSignals.subscribe("Vehicle.Speed")
- VehicleSignals.subscribe("Vehicle.Powertrain.CombustionEngine.Engine.Speed")
+ VehicleSignals.subscribe("Vehicle.Powertrain.CombustionEngine.Speed")
VehicleSignals.subscribe("Vehicle.Cabin.SteeringWheel.Switches.Info")
VehicleSignals.get("Vehicle.Cabin.Infotainment.HMI.DistanceUnit")
VehicleSignals.subscribe("Vehicle.Cabin.Infotainment.HMI.DistanceUnit")
@@ -56,7 +56,7 @@ ApplicationWindow {
vehicleSpeed = parseFloat(value) * 0.621504
else
vehicleSpeed = parseFloat(value)
- } else if (path === "Vehicle.Powertrain.CombustionEngine.Engine.Speed") {
+ } else if (path === "Vehicle.Powertrain.CombustionEngine.Speed") {
engineSpeed = parseFloat(value)
} else if (path === "Vehicle.Cabin.SteeringWheel.Switches.Info" && value === "true") {
console.log ("Switching views!")