From e7b136bd190cfc39e04243c38aefa5cd32c8ab2e Mon Sep 17 00:00:00 2001 From: Lutz Mueller Date: Wed, 14 Nov 2001 10:21:50 +0000 Subject: [PATCH] Terminate supported speeds with 0. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3016 67ed7778-7388-44ab-90cf-0a291f65f57c --- camlibs/polaroid/pdc700.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/camlibs/polaroid/pdc700.c b/camlibs/polaroid/pdc700.c index acc47917e..3a4a39270 100644 --- a/camlibs/polaroid/pdc700.c +++ b/camlibs/polaroid/pdc700.c @@ -560,10 +560,14 @@ camera_abilities (CameraAbilitiesList *list) strcpy (a.model, models[i].model); a.status = GP_DRIVER_STATUS_PRODUCTION; a.port = GP_PORT_SERIAL; + + /* Supported speeds, terminated with 0 */ a.speed[0] = 9600; a.speed[1] = 19200; a.speed[2] = 38400; a.speed[3] = 57600; + a.speed[4] = 0; + a.operations = GP_OPERATION_CAPTURE_IMAGE; a.file_operations = GP_FILE_OPERATION_DELETE | GP_FILE_OPERATION_PREVIEW;