From 5b69d50808ea4d90af1cdb037f25309baae23fdf Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Thu, 15 Aug 2024 15:56:04 -0400 Subject: Fix engine speed signal type Update use of the VSS engine speed (RPM) signal to match the fix done to the AGL VSS overlays to restore the upstream integer data type. The usage in this application did not technically require updating, as it happened to still work since the integer values parse as floats in the QML usage. However, it seems useful to have usage be consistent across the demo applications. Bug-AGL: SPEC-5204 Change-Id: I422b91d68ff4331f15e1aff81c650e8a157dd72a Signed-off-by: Scott Murray --- app/TachometerStyle.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/TachometerStyle.qml') diff --git a/app/TachometerStyle.qml b/app/TachometerStyle.qml index 03dfbd7..026ffaa 100644 --- a/app/TachometerStyle.qml +++ b/app/TachometerStyle.qml @@ -107,7 +107,7 @@ DashboardGaugeStyle { anchors.topMargin: 20 visible: valueSource.displayNumericSpeeds === true - readonly property int rpmInt: valueSource.rpm + readonly property int rpmInt: valueSource.rpm / 1000 } Text { text: "x1000" -- cgit 1.2.3-korg