From cc74561cfaff3a4c8719b6972d4ec5c21be535ea Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Wed, 9 Mar 2011 10:56:35 +0100 Subject: Fix photon focus capture --- src/cameras/pf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cameras') diff --git a/src/cameras/pf.c b/src/cameras/pf.c index bd9cd49..65b7b6c 100644 --- a/src/cameras/pf.c +++ b/src/cameras/pf.c @@ -169,7 +169,7 @@ static uint32_t uca_pf_get_property(struct uca_camera_t *cam, enum uca_property_ /* Handle all special cases */ switch (property) { case UCA_PROP_BITDEPTH: - set_void(data, uint8_t, 8); + set_void(data, uint32_t, 8); break; default: @@ -219,7 +219,7 @@ uint32_t uca_pf_init(struct uca_camera_t **cam, struct uca_grabber_t *grabber) struct uca_camera_t *uca = (struct uca_camera_t *) malloc(sizeof(struct uca_camera_t)); uca->grabber = grabber; - uca->grabber->asynchronous = false; + uca->grabber->asynchronous = true; /* Camera found, set function pointers... */ uca->destroy = &uca_pf_destroy; -- cgit v1.2.3