From bd2fc91a5f9a08f91ee156edc294b7aeda89f29a Mon Sep 17 00:00:00 2001 From: Till Adam Date: Thu, 7 Nov 2002 15:31:28 +0000 Subject: [PATCH] It seems the other resolutions work for the gsmart mini after all. Remove the checks for them. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5557 67ed7778-7388-44ab-90cf-0a291f65f57c --- camlibs/gsmart/gsmart.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/camlibs/gsmart/gsmart.c b/camlibs/gsmart/gsmart.c index 501cd1431..7f4371839 100644 --- a/camlibs/gsmart/gsmart.c +++ b/camlibs/gsmart/gsmart.c @@ -152,10 +152,6 @@ gsmart_get_image (CameraPrivateLibrary * lib, u_int8_t ** buf, p = g_file->fat; - if ((lib->bridge == GSMART_BRIDGE_SPCA500) - && ((p[20] & 0xFF) != 0)) - return GP_ERROR_NOT_SUPPORTED; - /* get the position in memory where the image is */ start = (p[1] & 0xff) + (p[2] & 0xff) * 0x100; start *= 128; @@ -467,10 +463,6 @@ gsmart_get_image_thumbnail (CameraPrivateLibrary * lib, u_int8_t ** buf, p = g_file->fat; - if ((lib->bridge == GSMART_BRIDGE_SPCA500) - && ((p[20] & 0xFF) != 0)) - return GP_ERROR_NOT_SUPPORTED; - start = (p[3] & 0xff) + (p[4] & 0xff) * 0x100; start *= 128;