summaryrefslogtreecommitdiffstats
path: root/plugins/pco
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2015-06-10 13:48:15 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2015-06-10 11:44:00 +0200
commit987b30c2dab112b23a275491986e44cf338ea3b5 (patch)
tree04f669ba26a15c5ff30f602618ba73ad3a339ec6 /plugins/pco
parentd815f7a7d54ff981ce91488cc8608a1bfb424668 (diff)
downloadlibuca-987b30c2dab112b23a275491986e44cf338ea3b5.tar.gz
libuca-987b30c2dab112b23a275491986e44cf338ea3b5.tar.bz2
libuca-987b30c2dab112b23a275491986e44cf338ea3b5.tar.xz
libuca-987b30c2dab112b23a275491986e44cf338ea3b5.zip
pco: use Fg_stopAcquire in stop_readout
Diffstat (limited to 'plugins/pco')
-rw-r--r--plugins/pco/uca-pco-camera.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/pco/uca-pco-camera.c b/plugins/pco/uca-pco-camera.c
index c8a814b..c0ad60f 100644
--- a/plugins/pco/uca-pco-camera.c
+++ b/plugins/pco/uca-pco-camera.c
@@ -617,10 +617,8 @@ uca_pco_camera_stop_readout(UcaCamera *camera, GError **error)
priv = UCA_PCO_CAMERA_GET_PRIVATE(camera);
-#if 0
- err = Fg_stopAcquireEx (priv->fg, priv->fg_port, priv->fg_mem, STOP_SYNC);
+ err = Fg_stopAcquire (priv->fg, priv->fg_port);
FG_SET_ERROR (err, priv->fg, UCA_PCO_CAMERA_ERROR_FG_GENERAL);
-#endif
err = Fg_setStatusEx (priv->fg, FG_UNBLOCK_ALL, 0, priv->fg_port, priv->fg_mem);
FG_SET_ERROR (err, priv->fg, UCA_PCO_CAMERA_ERROR_FG_GENERAL);