diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2015-05-06 09:05:14 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2015-05-06 09:05:14 +0200 |
commit | 6ace4c43bb4b8e43ab28f018676609223c9df715 (patch) | |
tree | fa48f29314b1dad20944cbf0649fcf83839209ba /plugins/ufo/uca-ufo-camera.c | |
parent | d01d83eb9843bce7bb62377f353f6a63591c2f9b (diff) | |
download | uca-6ace4c43bb4b8e43ab28f018676609223c9df715.tar.gz uca-6ace4c43bb4b8e43ab28f018676609223c9df715.tar.bz2 uca-6ace4c43bb4b8e43ab28f018676609223c9df715.tar.xz uca-6ace4c43bb4b8e43ab28f018676609223c9df715.zip |
ufo: update trigger policy
Diffstat (limited to 'plugins/ufo/uca-ufo-camera.c')
-rw-r--r-- | plugins/ufo/uca-ufo-camera.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/ufo/uca-ufo-camera.c b/plugins/ufo/uca-ufo-camera.c index 0b86030..27ea81b 100644 --- a/plugins/ufo/uca-ufo-camera.c +++ b/plugins/ufo/uca-ufo-camera.c @@ -308,10 +308,10 @@ uca_ufo_camera_start_recording (UcaCamera *camera, GError **error) "trigger-type", &trigger_type, NULL); - set_control_bit (priv, 15, trigger_type == UCA_CAMERA_TRIGGER_TYPE_EDGE && - trigger_source == UCA_CAMERA_TRIGGER_SOURCE_EXTERNAL); + 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_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 && trigger_source == UCA_CAMERA_TRIGGER_SOURCE_EXTERNAL); err = pcilib_start (priv->handle, PCILIB_EVENT_DATA, PCILIB_EVENT_FLAGS_DEFAULT); |