From 31b20f08150907fadc05e5054f4ffd04f68d2144 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Wed, 16 Mar 2011 14:02:43 +0100 Subject: Add publishing script and propagate version from top directory --- src/uca.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/uca.c') 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]; -- cgit v1.2.3