diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2015-04-09 08:18:10 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2015-04-09 08:18:10 +0200 |
commit | a793426206c643e795dbe08a3432f8202189d1ea (patch) | |
tree | a27333c936748fc3e7f97d3f49754b18379f0fbf /plugins/ufo | |
parent | 5eb73ee005f9e56b3b301895533649663eee9f7b (diff) | |
download | uca-a793426206c643e795dbe08a3432f8202189d1ea.tar.gz uca-a793426206c643e795dbe08a3432f8202189d1ea.tar.bz2 uca-a793426206c643e795dbe08a3432f8202189d1ea.tar.xz uca-a793426206c643e795dbe08a3432f8202189d1ea.zip |
ufo: update trigger logic
Diffstat (limited to 'plugins/ufo')
-rw-r--r-- | plugins/ufo/uca-ufo-camera.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ufo/uca-ufo-camera.c b/plugins/ufo/uca-ufo-camera.c index 38ae68d..acfbc39 100644 --- a/plugins/ufo/uca-ufo-camera.c +++ b/plugins/ufo/uca-ufo-camera.c @@ -318,11 +318,11 @@ uca_ufo_camera_start_recording(UcaCamera *camera, GError **error) "trigger-type", &trigger_type, NULL); - set_control_bit (priv, 14, trigger_source == UCA_CAMERA_TRIGGER_SOURCE_EXTERNAL); set_control_bit (priv, 15, trigger_type == UCA_CAMERA_TRIGGER_TYPE_EDGE); set_control_bit (priv, 11, trigger_source == UCA_CAMERA_TRIGGER_SOURCE_AUTO); + set_control_bit (priv, 14, TRUE); - priv->timeout = ((pcilib_timeout_t) (exposure_time * 1000 + 50.0) * 1000); + priv->timeout = ((pcilib_timeout_t) (exposure_time * 1000 + 100.0) * 1000); if (transfer_async) priv->async_thread = g_thread_create ((GThreadFunc) stream_async, camera, TRUE, error); |