diff options
| author | 2012-07-04 22:55:23 +0200 | |
|---|---|---|
| committer | 2012-07-04 22:55:23 +0200 | |
| commit | abcffc26469a8ad6d752f62a39c19107e1a82891 (patch) | |
| tree | aa9aa40df0aab3f61eb6cfd1f7c001d27c8f30ee /libirecovery.c | |
| parent | c1b7e23a7bb2be63abbe37eace59f7200107b5fd (diff) | |
| download | libirecovery-abcffc26469a8ad6d752f62a39c19107e1a82891.tar.gz libirecovery-abcffc26469a8ad6d752f62a39c19107e1a82891.tar.bz2 | |
Increase USB timeout to 10 seconds for really slow machines
Diffstat (limited to 'libirecovery.c')
| -rw-r--r-- | libirecovery.c | 2 |
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 @@ | |||
| 37 | 37 | ||
| 38 | #include "libirecovery.h" | 38 | #include "libirecovery.h" |
| 39 | 39 | ||
| 40 | #define USB_TIMEOUT 5000 | 40 | #define USB_TIMEOUT 10000 |
| 41 | 41 | ||
| 42 | #define BUFFER_SIZE 0x1000 | 42 | #define BUFFER_SIZE 0x1000 |
| 43 | #define debug(...) if(libirecovery_debug) fprintf(stderr, __VA_ARGS__) | 43 | #define debug(...) if(libirecovery_debug) fprintf(stderr, __VA_ARGS__) |
