diff options
| -rw-r--r-- | src/libirecovery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libirecovery.c b/src/libirecovery.c index c564ecb..6a8f470 100644 --- a/src/libirecovery.c +++ b/src/libirecovery.c | |||
| @@ -1054,7 +1054,7 @@ irecv_error_t irecv_receive(irecv_client_t client) { | |||
| 1054 | if (check_context(client) != IRECV_E_SUCCESS) return IRECV_E_NO_DEVICE; | 1054 | if (check_context(client) != IRECV_E_SUCCESS) return IRECV_E_NO_DEVICE; |
| 1055 | 1055 | ||
| 1056 | int bytes = 0; | 1056 | int bytes = 0; |
| 1057 | while (irecv_usb_bulk_transfer(client, 0x81, (unsigned char*) buffer, BUFFER_SIZE, &bytes, 1000) == 0) { | 1057 | while (irecv_usb_bulk_transfer(client, 0x81, (unsigned char*) buffer, BUFFER_SIZE, &bytes, 500) == 0) { |
| 1058 | if (bytes > 0) { | 1058 | if (bytes > 0) { |
| 1059 | if (client->received_callback != NULL) { | 1059 | if (client->received_callback != NULL) { |
| 1060 | irecv_event_t event; | 1060 | irecv_event_t event; |
