summaryrefslogtreecommitdiffstats
path: root/src/uca.c
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-03-16 14:02:43 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-03-16 14:02:43 +0100
commit31b20f08150907fadc05e5054f4ffd04f68d2144 (patch)
tree8f4aaf79177341bcdc709830608529d58eb204c8 /src/uca.c
parent426687c80bbc52474a53939d7034d45180adc1f5 (diff)
downloaduca-31b20f08150907fadc05e5054f4ffd04f68d2144.tar.gz
uca-31b20f08150907fadc05e5054f4ffd04f68d2144.tar.bz2
uca-31b20f08150907fadc05e5054f4ffd04f68d2144.tar.xz
uca-31b20f08150907fadc05e5054f4ffd04f68d2144.zip
Add publishing script and propagate version from top directory
Diffstat (limited to 'src/uca.c')
-rw-r--r--src/uca.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/uca.c b/src/uca.c
index 0f02ce1..8cbfc17 100644
--- a/src/uca.c
+++ b/src/uca.c
@@ -141,9 +141,10 @@ struct uca_t *uca_init(const char *config_filename)
if (grabber != NULL)
grabber->next = NULL;
- /* Probe each camera that is configured */
i = 0;
struct uca_camera_t *current = NULL;
+ /* Probe each camera that is configured and append a found camera to the
+ * linked list. */
while (cam_inits[i] != NULL) {
struct uca_camera_t *cam = NULL;
uca_cam_init init = cam_inits[i];