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:
- 27:aa2fd412f1d3
- Parent:
- 24:868cbfe611a7
- Child:
- 30:ffec1f271b7c
diff -r 607951c26872 -r aa2fd412f1d3 USBHost/USBHost.h --- a/USBHost/USBHost.h Mon Aug 18 13:45:26 2014 +0100 +++ b/USBHost/USBHost.h Tue Dec 02 15:16:39 2014 +0000 @@ -264,7 +264,8 @@ #endif // to store a setup packet - uint8_t setupPacket[8]; +#define SAFE_USB_HOST_SETUP_PACKET_BUFF_SIZE (8) + uint8_t* setupPacket; typedef struct { uint8_t event_id; @@ -284,8 +285,9 @@ Mutex td_mutex; // buffer for conf descriptor - uint8_t data[415]; - +#define SAFE_USB_HOST_DATA_BUFF_SIZE (415) + uint8_t* data; + /** * Add a transfer on the TD linked list associated to an ED *