summaryrefslogtreecommitdiffstats
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-25 17:23:47 +0000
commitba638ce33cfac78b07c8fb69947bf6aead57d6b7 (patch)
tree00d9eda25633172f5731d7f0df3556558ce0f862
parent3a21c11a66c1baa259e52259543abce70e65702a (diff)
Update engine speed signal nameneedlefish
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 (cherry picked from commit 0cfd9c9473dcb218d095f9e6b88f41e81765fdff)
-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") {