USB BARCODE READER

Fork of USBHOST by ST

Revision:
3:1c76b46ad779
Parent:
1:ab240722d7ef
Child:
5:fc157e6bd5a5
--- a/USBHost/TARGET_STM/USBEndpoint_STM.cpp	Wed Feb 15 10:49:44 2017 +0100
+++ b/USBHost/TARGET_STM/USBEndpoint_STM.cpp	Fri Feb 17 12:40:57 2017 +0100
@@ -110,7 +110,7 @@
     state = USB_TYPE_PROCESSING;
     /*  one request */
     td_current->nextTD = (hcTd*)0;
-
+    td_current->retry = 0;
     *addr = (uint32_t)td_current;
     /*  dir /setup is inverted for ST */
     /* token is useful only ctrl endpoint */