summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2023-01-02 15:28:56 -0500
committerScott Murray <scott.murray@konsulko.com>2023-01-02 20:31:14 +0000
commitf923df9484ed34676dfcf022043f97d86a4bddfa (patch)
treefb8191f328005220b7ec58c343c4598141293350 /app
parent624f4e542a981c0b71ee4be9e636df8f34f70d4b (diff)
Update engine speed signal
Update engine speed signal to use VSS 3.0 signal name. Bug-AGL: SPEC-4664 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I731054928c145f0dda076ec6d6f4df89d90dd0c7
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!")