From 29aec734715f7c4d6b8157ac514eff4fd8dd0242 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Mon, 21 Feb 2011 15:39:14 +0100 Subject: Include config.h and test the library --- src/cameras/uca_pco.c | 2 +- src/cameras/uca_pco.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cameras') diff --git a/src/cameras/uca_pco.c b/src/cameras/uca_pco.c index daba6f6..0359990 100644 --- a/src/cameras/uca_pco.c +++ b/src/cameras/uca_pco.c @@ -11,7 +11,7 @@ static void uca_pco_destroy(struct uca_t *uca) pco_destroy(pco); } -uint8_t uca_pco_init(struct uca_t *uca) +int uca_pco_init(struct uca_t *uca) { pco = pco_init(); if (!pco_active(pco)) { diff --git a/src/cameras/uca_pco.h b/src/cameras/uca_pco.h index c314ffe..f2e7174 100644 --- a/src/cameras/uca_pco.h +++ b/src/cameras/uca_pco.h @@ -3,6 +3,6 @@ struct uca_t; -uint8_t uca_pco_init(struct uca_t *uca); +int uca_pco_init(struct uca_t *uca); #endif -- cgit v1.2.3