aboutsummaryrefslogtreecommitdiffstats
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 15:28:56 -0500
commit5da348a40d97adbc9a9e4f19b2af597c4295b2d0 (patch)
tree5cdb85ef5d0e61f32df39d83d5e1cf08cf2552c5 /app
parentb8d8c98bfded3ea6a17da5bb83cedb95adfb1112 (diff)
Update engine speed signalneedlefish
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!")