diff options
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 */ |