diff options
author | Scott Murray <scott.murray@konsulko.com> | 2022-11-08 15:40:44 -0500 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2022-11-10 13:45:45 +0000 |
commit | 137144c447d8adb618f5acbcbafd65f50264d6eb (patch) | |
tree | afdbf2ba87ed0344d561e02def737b5ee36be8c0 /app | |
parent | f273b7e91ceef3351a4f7decd631cedab89a7fc7 (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: I243c1fe3a50b24ce44ef5bd8ebb917fc9825e7f1
Diffstat (limited to 'app')
-rw-r--r-- | app/ValueSource.qml | 4 |
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 } |