diff options
author | Lutz Mueller <lutz@users.sourceforge.net> | 2001-01-09 18:58:09 +0000 |
---|---|---|
committer | Lutz Mueller <lutz@users.sourceforge.net> | 2001-01-09 18:58:09 +0000 |
commit | 7dd3b982423739023b353903502ff2ab01e007ad (patch) | |
tree | 54c1e87e66634490e4f53518486c5a5468baf849 /camlibs/barbie | |
parent | d29ab36672747add8f202d07e9bc28f68c54a77a (diff) | |
download | libgphoto2-7dd3b982423739023b353903502ff2ab01e007ad.tar.gz |
API change: gp_camera_init (Camera *camera, CameraInit *init) -> gp_camera_init (Camera *camera).
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1504 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'camlibs/barbie')
-rw-r--r-- | camlibs/barbie/barbie.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/camlibs/barbie/barbie.c b/camlibs/barbie/barbie.c index 3b87c801d..9259080c7 100644 --- a/camlibs/barbie/barbie.c +++ b/camlibs/barbie/barbie.c @@ -52,7 +52,7 @@ int camera_abilities (CameraAbilitiesList *list) { return (GP_OK); } -int camera_init(Camera *camera, CameraInit *init) { +int camera_init(Camera *camera) { gpio_device_settings settings; BarbieStruct *b; @@ -82,7 +82,7 @@ int camera_init(Camera *camera, CameraInit *init) { b->dev = gpio_new(GPIO_DEVICE_SERIAL); gpio_set_timeout(b->dev, 5000); - strcpy(settings.serial.port, init->port.path); + strcpy(settings.serial.port, camera->port->path); settings.serial.speed = 57600; settings.serial.bits = 8; |