From 715038226f9209fde8192e1b04c3f2671a669eca Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Fri, 3 Jun 2016 15:08:28 +0200 Subject: Fix software trigger ... again --- uca-ufo-camera.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/uca-ufo-camera.c b/uca-ufo-camera.c index e3c16e5..eee1145 100644 --- a/uca-ufo-camera.c +++ b/uca-ufo-camera.c @@ -328,7 +328,6 @@ uca_ufo_camera_start_recording (UcaCamera *camera, GError **error) "trigger-type", &trigger_type, NULL); - set_control_bit (priv, 3, trigger_source == UCA_CAMERA_TRIGGER_SOURCE_SOFTWARE); set_control_bit (priv, 11, trigger_source == UCA_CAMERA_TRIGGER_SOURCE_AUTO); set_control_bit (priv, 14, trigger_source == UCA_CAMERA_TRIGGER_SOURCE_EXTERNAL); set_control_bit (priv, 15, trigger_type == UCA_CAMERA_TRIGGER_TYPE_EDGE && @@ -443,6 +442,9 @@ uca_ufo_camera_trigger (UcaCamera *camera, GError **error) priv = UCA_UFO_CAMERA_GET_PRIVATE(camera); + set_control_bit (priv, 3, TRUE); + set_control_bit (priv, 3, FALSE); + /* XXX: What is PCILIB_EVENT0? */ err = pcilib_trigger (priv->handle, PCILIB_EVENT0, 0, NULL); PCILIB_SET_ERROR (err, UCA_UFO_CAMERA_ERROR_TRIGGER); -- cgit v1.2.3