aboutsummaryrefslogtreecommitdiffstats
path: root/app/camera.cpp
diff options
context:
space:
mode:
authorzheng_wenlong <wenlong_zheng@nexty-ele.com>2019-02-06 13:51:09 +0900
committerzheng_wenlong <wenlong_zheng@nexty-ele.com>2019-02-06 13:53:35 +0900
commit95b45c40f7db39d4a9a0ceb2995b976b0f2792e4 (patch)
tree6d3684d394b5cc74898ccfa811f6434f639d101c /app/camera.cpp
parenta35b3631420ac051a1b50a00806ee29900f03250 (diff)
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 <wenlong_zheng@nexty-ele.com>
Diffstat (limited to 'app/camera.cpp')
-rw-r--r--app/camera.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/camera.cpp b/app/camera.cpp
index 107880c..c21fba5 100644
--- a/app/camera.cpp
+++ b/app/camera.cpp
@@ -47,7 +47,7 @@ void Camera::paint(QPainter *painter) {
}
void Camera::enumerateCameras() {
- int maxID = 10;
+ int maxID = 20;
for (int idx = 0; idx <maxID; idx++){
std::stringstream no;
no << "/dev/video" << idx;