common: Increase the read timeout to 10 seconds.
(The shinko printer has a long wait time on some commands)
This commit is contained in:
parent
5c42e2baaa
commit
49e58f59ef
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue