diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2015-04-09 10:35:24 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2015-04-09 10:35:24 +0200 |
commit | 67f037be26c0dcbd91b93c26f2f9f52be3ce4e6b (patch) | |
tree | 8d88ada2852ad7789208e5659ea0399ab7c1b1f1 /plugins | |
parent | a793426206c643e795dbe08a3432f8202189d1ea (diff) | |
download | libuca-67f037be26c0dcbd91b93c26f2f9f52be3ce4e6b.tar.gz libuca-67f037be26c0dcbd91b93c26f2f9f52be3ce4e6b.tar.bz2 libuca-67f037be26c0dcbd91b93c26f2f9f52be3ce4e6b.tar.xz libuca-67f037be26c0dcbd91b93c26f2f9f52be3ce4e6b.zip |
ufo: set bit 14 if AUTO or EXTERNAL trigger source
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/ufo/uca-ufo-camera.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/ufo/uca-ufo-camera.c b/plugins/ufo/uca-ufo-camera.c index acfbc39..b167f87 100644 --- a/plugins/ufo/uca-ufo-camera.c +++ b/plugins/ufo/uca-ufo-camera.c @@ -320,7 +320,8 @@ uca_ufo_camera_start_recording(UcaCamera *camera, GError **error) 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); + set_control_bit (priv, 14, trigger_source == UCA_CAMERA_TRIGGER_SOURCE_AUTO || + trigger_source == UCA_CAMERA_TRIGGER_SOURCE_EXTERNAL); priv->timeout = ((pcilib_timeout_t) (exposure_time * 1000 + 100.0) * 1000); |