common: Increase the read timeout to 10 seconds.

(The shinko printer has a long wait time on some commands)
This commit is contained in:
Solomon Peachy 2014-02-10 22:45:50 -05:00
parent 5c42e2baaa
commit 49e58f59ef

View file

@ -103,7 +103,7 @@ int read_data(struct libusb_device_handle *dev, uint8_t endp,
buf,
buflen,
readlen,
5000);
10000);
if (ret < 0) {
ERROR("Failure to receive data from printer (libusb error %d: (%d/%d from 0x%02x))\n", ret, *readlen, buflen, endp);