From 987b30c2dab112b23a275491986e44cf338ea3b5 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Wed, 10 Jun 2015 13:48:15 +0200 Subject: pco: use Fg_stopAcquire in stop_readout --- plugins/pco/uca-pco-camera.c | 4 +--- 1 file changed, 1 insertion(+), 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); -- cgit v1.2.3