summaryrefslogtreecommitdiffstats
path: root/app/Dashboard.qml
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2022-10-11 16:21:09 -0400
committerScott Murray <scott.murray@konsulko.com>2022-10-11 16:22:17 -0400
commit0cfd9c9473dcb218d095f9e6b88f41e81765fdff (patch)
tree6d5bdc8cb5b45d60e62d7f61ee1826441f894ed3 /app/Dashboard.qml
parent4efe67714e60e2ab86acf1edee500373f6820954 (diff)
Update engine speed signal name
The engine speed signal name changed in VSS 3.0, update to use the new name. Bug-AGL: SPEC-4587 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I7c16355f8496790a276097cab282de7e5be90123
Diffstat (limited to 'app/Dashboard.qml')
-rw-r--r--app/Dashboard.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Dashboard.qml b/app/Dashboard.qml
index 4af8a26..1a797c6 100644
--- a/app/Dashboard.qml
+++ b/app/Dashboard.qml
@@ -49,7 +49,7 @@ ApplicationWindow {
onAuthorized: {
VehicleSignals.subscribe("Vehicle.Speed")
- VehicleSignals.subscribe("Vehicle.Powertrain.CombustionEngine.Engine.Speed")
+ VehicleSignals.subscribe("Vehicle.Powertrain.CombustionEngine.Speed")
VehicleSignals.get("Vehicle.Cabin.Infotainment.HMI.DistanceUnit")
VehicleSignals.subscribe("Vehicle.Cabin.Infotainment.HMI.DistanceUnit")
}
@@ -73,7 +73,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)
tachometer.value = engineSpeed / 7000
} else if (path === "Vehicle.Cabin.Infotainment.HMI.DistanceUnit") {