summaryrefslogtreecommitdiffstats
path: root/uca-ufo-camera.c
diff options
context:
space:
mode:
Diffstat (limited to 'uca-ufo-camera.c')
-rw-r--r--uca-ufo-camera.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/uca-ufo-camera.c b/uca-ufo-camera.c
index 7470418..94d1d3c 100644
--- a/uca-ufo-camera.c
+++ b/uca-ufo-camera.c
@@ -206,9 +206,6 @@ update_properties (UcaUfoCameraPrivate *priv)
case PCILIB_REGISTER_RW1I:
flags = G_PARAM_READWRITE;
break;
- case PCILIB_REGISTER_INCONSISTENT:
- g_warning ("%s is an inconsistent register, don't know how to handle that", reg->name);
- break;
}
value = read_register_value (priv->handle, reg->name);
@@ -369,9 +366,9 @@ uca_ufo_camera_stop_recording (UcaCamera *camera, GError **error)
set_control_bit (priv, 11, FALSE); /* disable streaming */
if (priv->async_thread) {
- err = pcilib_stop(priv->handle, PCILIB_EVENT_FLAG_STOP_ONLY);
- PCILIB_SET_ERROR(err, UCA_UFO_CAMERA_ERROR_STOP_RECORDING);
- g_thread_join(priv->async_thread);
+ err = pcilib_stop (priv->handle, PCILIB_EVENT_FLAG_STOP_ONLY);
+ PCILIB_SET_ERROR (err, UCA_UFO_CAMERA_ERROR_STOP_RECORDING);
+ g_thread_join (priv->async_thread);
priv->async_thread = NULL;
}
@@ -380,7 +377,7 @@ uca_ufo_camera_stop_recording (UcaCamera *camera, GError **error)
;
err = pcilib_stop (priv->handle, PCILIB_EVENT_FLAGS_DEFAULT);
- PCILIB_SET_ERROR(err, UCA_UFO_CAMERA_ERROR_STOP_RECORDING);
+ PCILIB_SET_ERROR (err, UCA_UFO_CAMERA_ERROR_STOP_RECORDING);
}
static void