From 48d5c7c1d27835ae882ade0bb92a14e7874f5558 Mon Sep 17 00:00:00 2001 From: Kyle Repinski Date: Fri, 9 Jan 2015 11:54:39 -0600 Subject: camera: Limit tuna to 2 camera sensors. We were not only attempting to access a mythical third sensor, but also seemed to think it supported STEREO (3D) mode, crashing Ducati. Thanks to @Hashcode, remembered he did something like this for jem a while back. --- camera/inc/CameraProperties.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'camera') diff --git a/camera/inc/CameraProperties.h b/camera/inc/CameraProperties.h index bfc6012..0b8680e 100644 --- a/camera/inc/CameraProperties.h +++ b/camera/inc/CameraProperties.h @@ -35,7 +35,11 @@ namespace Ti { namespace Camera { +#ifdef OMAP_TUNA +#define MAX_CAMERAS_SUPPORTED 2 +#else #define MAX_CAMERAS_SUPPORTED 3 +#endif #define MAX_SIMUL_CAMERAS_SUPPORTED 1 #define MAX_PROP_NAME_LENGTH 50 #define MAX_PROP_VALUE_LENGTH 2048 -- cgit v1.1