diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-09-14 05:57:17 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-09-14 05:57:17 +0000 |
commit | eee712f76944ca846942be20a14c7a8b1769d500 (patch) | |
tree | 3e6ab57c560464526ebcc5506486b4f7d32b94a1 /LUFA/Drivers/USB/Class/Host | |
parent | 93b24a25dfd49eba38ac9523f1d7f779dfbbb026 (diff) | |
download | lufa-eee712f76944ca846942be20a14c7a8b1769d500.tar.gz lufa-eee712f76944ca846942be20a14c7a8b1769d500.tar.bz2 lufa-eee712f76944ca846942be20a14c7a8b1769d500.zip |
Fixed MIDI Device Class driver not sending/receiving MIDI packets of the correct size (thanks to Thomas Bleeker).
Diffstat (limited to 'LUFA/Drivers/USB/Class/Host')
-rw-r--r-- | LUFA/Drivers/USB/Class/Host/CDC.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Drivers/USB/Class/Host/CDC.c b/LUFA/Drivers/USB/Class/Host/CDC.c index 4a4d88461..8ef6242e4 100644 --- a/LUFA/Drivers/USB/Class/Host/CDC.c +++ b/LUFA/Drivers/USB/Class/Host/CDC.c @@ -200,7 +200,7 @@ void CDC_Host_USBTask(USB_ClassInfo_CDC_Host_t* CDCInterfaceInfo) if (Pipe_IsINReceived())
{
USB_Request_Header_t Notification;
- Pipe_Read_Stream_LE(&Notification, sizeof(Notification), NO_STREAM_CALLBACK);
+ Pipe_Read_Stream_LE(&Notification, sizeof(USB_Request_Header_t), NO_STREAM_CALLBACK);
if ((Notification.bRequest == NOTIF_SerialState) &&
(Notification.bmRequestType == (REQDIR_DEVICETOHOST | REQTYPE_CLASS | REQREC_INTERFACE)))
|