openbsd-ports/graphics/libgphoto2/patches/patch-camlibs_canon_usb_c
ajacoutot 88cc8ec721 - update to libgphoto2-2.4.1
tested by landry@ (i386) and myself (macppc)
"go for it if it works" espie@
2008-06-18 11:43:39 +00:00

13 lines
502 B
Plaintext

$OpenBSD: patch-camlibs_canon_usb_c,v 1.2 2008/06/18 11:43:39 ajacoutot Exp $
--- camlibs/canon/usb.c.orig Sat Jun 14 18:41:27 2008
+++ camlibs/canon/usb.c Sat Jun 14 18:41:38 2008
@@ -72,7 +72,7 @@
/* CANON_FAST_TIMEOUT: how long (in milliseconds) we should wait for
* an URB to come back on an interrupt endpoint */
-#define CANON_FAST_TIMEOUT 150
+#define CANON_FAST_TIMEOUT 750
/* WARNING: This destroys reentrancy of the code. Better to put this
* in the camera descriptor somewhere. */