forked for unsupported target

Dependents:   stm32-disco-example DISCO-F469NI_BD_SD_Card_Control

Fork of USBHOST by ST

Revision:
5:fc157e6bd5a5
Parent:
1:ab240722d7ef
diff -r 1c76b46ad779 -r fc157e6bd5a5 USBHost/USBEndpoint.h
--- a/USBHost/USBEndpoint.h	Fri Feb 17 12:40:57 2017 +0100
+++ b/USBHost/USBEndpoint.h	Wed Apr 26 18:11:37 2017 +0200
@@ -33,6 +33,9 @@
     * Constructor
     */
     USBEndpoint() {
+#ifdef USBHOST_OTHER
+        speed = false;
+#endif
         state = USB_TYPE_FREE;
         nextEp = NULL;
     };
@@ -111,7 +114,11 @@
 
 
     // setters
+#ifdef USBHOST_OTHER
+    void setState(USB_TYPE st);
+#else
     inline void setState(USB_TYPE st) { state = st; }
+#endif
     void setState(uint8_t st);
     void setDeviceAddress(uint8_t addr);
     inline void setLengthTransferred(int len) { transferred = len; };