summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2012-07-04 22:55:23 +0200
committerGravatar Nikias Bassen2012-07-04 22:55:23 +0200
commitabcffc26469a8ad6d752f62a39c19107e1a82891 (patch)
treeaa9aa40df0aab3f61eb6cfd1f7c001d27c8f30ee
parentc1b7e23a7bb2be63abbe37eace59f7200107b5fd (diff)
downloadlibirecovery-abcffc26469a8ad6d752f62a39c19107e1a82891.tar.gz
libirecovery-abcffc26469a8ad6d752f62a39c19107e1a82891.tar.bz2
Increase USB timeout to 10 seconds for really slow machines
-rw-r--r--libirecovery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libirecovery.c b/libirecovery.c
index f92cc50..3b839f9 100644
--- a/libirecovery.c
+++ b/libirecovery.c
@@ -37,7 +37,7 @@
#include "libirecovery.h"
-#define USB_TIMEOUT 5000
+#define USB_TIMEOUT 10000
#define BUFFER_SIZE 0x1000
#define debug(...) if(libirecovery_debug) fprintf(stderr, __VA_ARGS__)