Increase HID communication time-out for ATMEL ICE

This commit is contained in:
Marius Greuel 2020-02-23 21:01:52 +02:00
parent 43182c19bf
commit 8385a5132e
1 changed files with 1 additions and 1 deletions

View File

@ -296,7 +296,7 @@ static int usbhid_recv(union filedescriptor *fd, unsigned char *buf, size_t nbyt
if (udev == NULL)
return -1;
rv = i = hid_read_timeout(udev, buf, nbytes, 300);
rv = i = hid_read_timeout(udev, buf, nbytes, 1000);
if (i != nbytes)
avrdude_message(MSG_INFO,
"%s: Short read, read only %d out of %u bytes\n",