From 8385a5132e287ef59361f4bae0cb2cce32e97c39 Mon Sep 17 00:00:00 2001 From: Marius Greuel Date: Sun, 23 Feb 2020 21:01:52 +0200 Subject: [PATCH] Increase HID communication time-out for ATMEL ICE --- usb_hidapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usb_hidapi.c b/usb_hidapi.c index 81e9c4ab..021d7d44 100644 --- a/usb_hidapi.c +++ b/usb_hidapi.c @@ -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",