Commit 9df17b580936c213eb979716bc8b20436d9e8d9c

Authored by Gordon Hollingworth
Committed by GitHub
1 parent c0af212f

Change timeout in ep_read to 2 seconds

Fixes a small number of booting problems
Showing 1 changed file with 1 additions and 1 deletions
... ... @@ -162,7 +162,7 @@ int ep_read(void *buf, int len, libusb_device_handle * usb_device)
162 162 libusb_control_transfer(usb_device,
163 163 LIBUSB_REQUEST_TYPE_VENDOR |
164 164 LIBUSB_ENDPOINT_IN, 0, len & 0xffff,
165   - len >> 16, buf, len, 1000);
  165 + len >> 16, buf, len, 2000);
166 166 if(ret >= 0)
167 167 return len;
168 168 else
... ...