diff options
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; |