summaryrefslogtreecommitdiffstats
path: root/src/cameras
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2012-02-07 08:38:55 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2012-02-07 08:38:55 +0100
commitfe5b686a12d59a03901f056001b5e0e65928f3bb (patch)
tree5a710221cdc3bac3d3531ed6365721c51e90037a /src/cameras
parent85546868f4df692803d21ddbaa20673fd8b5be0b (diff)
downloaduca-fe5b686a12d59a03901f056001b5e0e65928f3bb.tar.gz
uca-fe5b686a12d59a03901f056001b5e0e65928f3bb.tar.bz2
uca-fe5b686a12d59a03901f056001b5e0e65928f3bb.tar.xz
uca-fe5b686a12d59a03901f056001b5e0e65928f3bb.zip
Fix type declarations
Diffstat (limited to 'src/cameras')
-rw-r--r--src/cameras/ipe.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cameras/ipe.c b/src/cameras/ipe.c
index ba7eb59..b027d50 100644
--- a/src/cameras/ipe.c
+++ b/src/cameras/ipe.c
@@ -39,7 +39,7 @@ static void uca_ipe_handle_error(const char *format, ...)
}
}
-static uint32_t uca_ipe_set_property(struct uca_camera_priv *cam, enum uca_property_ids property, void *data)
+static uint32_t uca_ipe_set_property(struct uca_camera_priv *cam, uca_property_ids property, void *data)
{
pcilib_t *handle = GET_HANDLE(cam);
pcilib_register_value_t value = *((pcilib_register_value_t *) data);
@@ -55,7 +55,7 @@ static uint32_t uca_ipe_set_property(struct uca_camera_priv *cam, enum uca_prope
return UCA_NO_ERROR;
}
-static uint32_t uca_ipe_get_property(struct uca_camera_priv *cam, enum uca_property_ids property, void *data, size_t num)
+static uint32_t uca_ipe_get_property(struct uca_camera_priv *cam, uca_property_ids property, void *data, size_t num)
{
pcilib_t *handle = GET_HANDLE(cam);
pcilib_register_value_t value = 0;
@@ -172,7 +172,7 @@ static int event_callback(pcilib_event_id_t event_id, pcilib_event_info_t *info,
return PCILIB_STREAMING_CONTINUE;
}
- enum uca_buffer_status status = cam->callback(info->seqnum, buffer, NULL, cam->callback_user);
+ uca_buffer_status status = cam->callback(info->seqnum, buffer, NULL, cam->callback_user);
if (status == UCA_BUFFER_RELEASE)
pcilib_return_data(handle, event_id, PCILIB_EVENT_DATA, buffer);