summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2022-11-08 15:40:44 -0500
committerScott Murray <scott.murray@konsulko.com>2022-11-08 20:41:50 +0000
commitbf25f650c780e5f4d2acf5de39e6e330162979b9 (patch)
tree24bd9ba577e48a2fc7e9fd95e8f9aadd304820d7
parent23f8f6d9fd0248736031543cb467bb8a4858a5b2 (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: I243c1fe3a50b24ce44ef5bd8ebb917fc9825e7f1
-rw-r--r--app/ValueSource.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/ValueSource.qml b/app/ValueSource.qml
index b94a468..511a2a1 100644
--- a/app/ValueSource.qml
+++ b/app/ValueSource.qml
@@ -111,7 +111,7 @@ Item {
onAuthorized: {
VehicleSignals.subscribe("Vehicle.Speed")
- VehicleSignals.subscribe("Vehicle.Powertrain.CombustionEngine.Engine.Speed")
+ VehicleSignals.subscribe("Vehicle.Powertrain.CombustionEngine.Speed")
VehicleSignals.subscribe("Vehicle.Cabin.SteeringWheel.Switches.CruiseEnable")
VehicleSignals.subscribe("Vehicle.Cabin.SteeringWheel.Switches.CruiseSet")
VehicleSignals.subscribe("Vehicle.Cabin.SteeringWheel.Switches.CruiseResume")
@@ -142,7 +142,7 @@ Item {
if(!runAnimation) {
valueSource.kph = parseFloat(value)
}
- } else if (path === "Vehicle.Powertrain.CombustionEngine.Engine.Speed") {
+ } else if (path === "Vehicle.Powertrain.CombustionEngine.Speed") {
if(!runAnimation) {
valueSource.rpm = parseFloat(value) / 1000
}