From 3296821cef80373e6ad461115d005f573d41a9fe Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Fri, 13 Jul 2012 16:22:59 +0200 Subject: Fix: return correct bit number --- src/cameras/uca-ufo-camera.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cameras/uca-ufo-camera.c b/src/cameras/uca-ufo-camera.c index 105d4bf..af35b86 100644 --- a/src/cameras/uca-ufo-camera.c +++ b/src/cameras/uca-ufo-camera.c @@ -323,7 +323,10 @@ uca_ufo_camera_get_property(GObject *object, guint property_id, GValue *value, G case 2: g_value_set_uint (value, 12); break; + default: + g_warning ("Bit mode unknown"); } + break; case PROP_SENSOR_HORIZONTAL_BINNING: g_value_set_uint(value, 1); break; -- cgit v1.2.3