mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-12-13 01:14:56 +00:00
Increase HID communication time-out for ATMEL ICE
This commit is contained in:
@@ -296,7 +296,7 @@ static int usbhid_recv(union filedescriptor *fd, unsigned char *buf, size_t nbyt
|
|||||||
if (udev == NULL)
|
if (udev == NULL)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
rv = i = hid_read_timeout(udev, buf, nbytes, 300);
|
rv = i = hid_read_timeout(udev, buf, nbytes, 1000);
|
||||||
if (i != nbytes)
|
if (i != nbytes)
|
||||||
avrdude_message(MSG_INFO,
|
avrdude_message(MSG_INFO,
|
||||||
"%s: Short read, read only %d out of %u bytes\n",
|
"%s: Short read, read only %d out of %u bytes\n",
|
||||||
|
|||||||
Reference in New Issue
Block a user