USBHost library. NOTE: This library is only officially supported on the LPC1768 platform. For more information, please see the handbook page.
Dependencies: FATFileSystem mbed-rtos
Dependents: BTstack WallbotWii SD to Flash Data Transfer USBHost-MSD_HelloWorld ... more
Legacy Warning
This is an mbed 2 library. To learn more about mbed OS 5, visit the docs.
Pull requests against this repository are no longer supported. Please raise against mbed OS 5 as documented above.
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;