diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2016-06-03 15:08:28 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2016-06-03 15:08:28 +0200 |
commit | 715038226f9209fde8192e1b04c3f2671a669eca (patch) | |
tree | b0caa18a17fd95ad8592b1371ace91b6a2c6c301 /uca-ufo-camera.c | |
parent | 8332e8bce52dec444f91f202c43dd1e971349386 (diff) | |
download | uca-ufo-715038226f9209fde8192e1b04c3f2671a669eca.tar.gz uca-ufo-715038226f9209fde8192e1b04c3f2671a669eca.tar.bz2 uca-ufo-715038226f9209fde8192e1b04c3f2671a669eca.tar.xz uca-ufo-715038226f9209fde8192e1b04c3f2671a669eca.zip |
Fix software trigger ... again
Diffstat (limited to 'uca-ufo-camera.c')
-rw-r--r-- | uca-ufo-camera.c | 4 |
1 files changed, 3 insertions, 1 deletions
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); |