diff options
author | Matthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de> | 2011-03-01 09:47:10 +0100 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de> | 2011-03-01 09:47:10 +0100 |
commit | 9b65b8182769c7cf993e256444d331ffec9f2d02 (patch) | |
tree | c17c373c939c9bca852f72ca958c2c511eea7bb6 /src/cameras/pco.c | |
parent | a92101a277aed63224e1bd2077c99826e9e35f1d (diff) | |
download | uca-9b65b8182769c7cf993e256444d331ffec9f2d02.tar.gz uca-9b65b8182769c7cf993e256444d331ffec9f2d02.tar.bz2 uca-9b65b8182769c7cf993e256444d331ffec9f2d02.tar.xz uca-9b65b8182769c7cf993e256444d331ffec9f2d02.zip |
Documentation added
Diffstat (limited to 'src/cameras/pco.c')
-rw-r--r-- | src/cameras/pco.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cameras/pco.c b/src/cameras/pco.c index cfb5d6b..45d0f62 100644 --- a/src/cameras/pco.c +++ b/src/cameras/pco.c @@ -186,10 +186,10 @@ uint32_t uca_pco_stop_recording(struct uca_camera_t *cam) return UCA_ERR_PROP_GENERAL; } -uint32_t uca_pco_grab(struct uca_camera_t *cam, char *buffer, size_t n_bytes) +uint32_t uca_pco_grab(struct uca_camera_t *cam, char *buffer) { uint16_t *frame; - uint32_t err = cam->grabber->grab(cam->grabber, (void **) &frame, n_bytes); + uint32_t err = cam->grabber->grab(cam->grabber, (void **) &frame); if (err != UCA_NO_ERROR) return err; /* FIXME: choose according to data format */ |