From 95b45c40f7db39d4a9a0ceb2995b976b0f2792e4 Mon Sep 17 00:00:00 2001 From: zheng_wenlong Date: Wed, 6 Feb 2019 13:51:09 +0900 Subject: Change als-meter-demo by using low-can Change als-meter-demo by using low-can data. For m3ulcb/h3ulcb board, the usb camera device id is over 10, Detect the camera device from 0 to 19. Change-Id: Icbd0b4327c9c356f40cea320420d149d850e4347 Signed-off-by: zheng_wenlong --- app/Tacho.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Tacho.qml') diff --git a/app/Tacho.qml b/app/Tacho.qml index 9c4fbee..853b12b 100644 --- a/app/Tacho.qml +++ b/app/Tacho.qml @@ -50,7 +50,7 @@ Item { Shift { percent: imgwidth/480 anchors.right: parent.right - anchors.rightMargin: wshift > 0 ? (imgwidth-width)/2+25 : (imgwidth-width)/2-5 + anchors.rightMargin: (wshift == "N" || wshift == "P" ||wshift == "R" )? (imgwidth-width)/2+25 : (imgwidth-width)/2-5 anchors.bottom: parent.bottom anchors.bottomMargin: 100 spacing: -10 -- cgit 1.2.3-korg