diff options
author | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2012-07-16 15:10:11 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2012-07-16 15:10:11 +0200 |
commit | e8511cd473b2eff313bffb06e18be42c2cf5ef8a (patch) | |
tree | a560e34d354bef05ddaf810ee4e153b277f1e447 /src | |
parent | daeca509cc60e977855187f81aea9ca2803527c1 (diff) | |
download | uca-e8511cd473b2eff313bffb06e18be42c2cf5ef8a.tar.gz uca-e8511cd473b2eff313bffb06e18be42c2cf5ef8a.tar.bz2 uca-e8511cd473b2eff313bffb06e18be42c2cf5ef8a.tar.xz uca-e8511cd473b2eff313bffb06e18be42c2cf5ef8a.zip |
Fix bitmode to bit depth translation
Diffstat (limited to 'src')
-rw-r--r-- | src/cameras/uca-ufo-camera.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cameras/uca-ufo-camera.c b/src/cameras/uca-ufo-camera.c index 1f1eca8..e4a0d4a 100644 --- a/src/cameras/uca-ufo-camera.c +++ b/src/cameras/uca-ufo-camera.c @@ -193,7 +193,7 @@ UcaUfoCamera *uca_ufo_camera_new(GError **error) UcaUfoCameraPrivate *priv = UCA_UFO_CAMERA_GET_PRIVATE(camera); bit_mode = read_register_value (handle, "bit_mode"); - priv->n_bits = bit_mode == 2 ? 12 : 10; + priv->n_bits = bit_mode == 0 ? 12 : 10; priv->handle = handle; return camera; |