summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-07-13 16:22:59 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-07-13 16:22:59 +0200
commit3296821cef80373e6ad461115d005f573d41a9fe (patch)
treee13147804657ffece891ad4a6890051a4802d7a7
parentdcfbebb618a1e3a738406793a4da19a36bf0ea18 (diff)
downloadlibuca-3296821cef80373e6ad461115d005f573d41a9fe.tar.gz
libuca-3296821cef80373e6ad461115d005f573d41a9fe.tar.bz2
libuca-3296821cef80373e6ad461115d005f573d41a9fe.tar.xz
libuca-3296821cef80373e6ad461115d005f573d41a9fe.zip
Fix: return correct bit number
-rw-r--r--src/cameras/uca-ufo-camera.c3
1 files changed, 3 insertions, 0 deletions
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;