aboutsummaryrefslogtreecommitdiff
path: root/LUFA/Drivers/USB/Class/Device/RNDIS.c
diff options
context:
space:
mode:
authorDean Camera <[email protected]>2009-09-14 05:57:17 +0000
committerDean Camera <[email protected]>2009-09-14 05:57:17 +0000
commiteee712f76944ca846942be20a14c7a8b1769d500 (patch)
tree3e6ab57c560464526ebcc5506486b4f7d32b94a1 /LUFA/Drivers/USB/Class/Device/RNDIS.c
parent93b24a25dfd49eba38ac9523f1d7f779dfbbb026 (diff)
downloadqmk_firmware-eee712f76944ca846942be20a14c7a8b1769d500.tar.gz
qmk_firmware-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/Device/RNDIS.c')
-rw-r--r--LUFA/Drivers/USB/Class/Device/RNDIS.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Drivers/USB/Class/Device/RNDIS.c b/LUFA/Drivers/USB/Class/Device/RNDIS.c
index 13d82a5bf4..09352143c6 100644
--- a/LUFA/Drivers/USB/Class/Device/RNDIS.c
+++ b/LUFA/Drivers/USB/Class/Device/RNDIS.c
@@ -158,7 +158,7 @@ void RNDIS_Device_USBTask(USB_ClassInfo_RNDIS_Device_t* const RNDISInterfaceInfo
.wLength = 0,
};
- Endpoint_Write_Stream_LE(&Notification, sizeof(Notification), NO_STREAM_CALLBACK);
+ Endpoint_Write_Stream_LE(&Notification, sizeof(USB_Request_Header_t), NO_STREAM_CALLBACK);
Endpoint_ClearIN();