From 67f037be26c0dcbd91b93c26f2f9f52be3ce4e6b Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Thu, 9 Apr 2015 10:35:24 +0200 Subject: ufo: set bit 14 if AUTO or EXTERNAL trigger source --- plugins/ufo/uca-ufo-camera.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins') 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); -- cgit v1.2.3