Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: FATFileSystem mbed-rtos mbed
Fork of USBHost by
Diff: USBHost/USBHost.h
- Revision:
- 37:f1e388e7b752
- Parent:
- 24:868cbfe611a7
--- a/USBHost/USBHost.h	Sun Apr 30 04:17:16 2017 +0000
+++ b/USBHost/USBHost.h	Thu Jul 20 10:13:56 2017 +0100
@@ -16,7 +16,9 @@
 
 #ifndef USBHOST_H
 #define USBHOST_H
-
+#ifdef TARGET_STM
+#include "mbed.h" 
+#endif
 #include "USBHALHost.h"
 #include "USBDeviceConnected.h"
 #include "IUSBEnumerator.h"
@@ -278,7 +280,6 @@
 
     Thread usbThread;
     void usb_process();
-    static void usb_process_static(void const * arg);
     Mail<message_t, 10> mail_usb_event;
     Mutex usb_mutex;
     Mutex td_mutex;
    