Adaptation of the official mbed USBHost repository to work with the LPC4088 Display Module
Dependents: DMSupport DMSupport DMSupport DMSupport
Fork of DM_USBHost by
Diff: USBHost/USBHost.h
- Revision:
- 33:819bbf04163b
- Parent:
- 30:ffec1f271b7c
--- a/USBHost/USBHost.h Wed Oct 23 06:58:55 2019 +0000 +++ b/USBHost/USBHost.h Mon Nov 04 14:30:07 2019 +0000 @@ -187,7 +187,7 @@ } } - void signalOnConnections(osThreadId threadId, uint32_t signal) { listener = threadId; listenerSignal = signal; } + void signalOnConnections(EventFlags *connectionListener, uint32_t signal) { listener = connectionListener; listenerSignal = signal; } /** * Instantiate to protect USB thread from accessing shared objects (USBConnectedDevices and Interfaces) @@ -286,7 +286,7 @@ Mutex usb_mutex; Mutex td_mutex; - osThreadId listener; + EventFlags *listener; uint32_t listenerSignal; // buffer for conf descriptor