aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-07-20 06:59:13 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-07-20 06:59:13 +0000
commitf9bcac5e00c949ec23135208da3f02c027992782 (patch)
tree7b388709d9b88338dcb16055f70f5722f05f7ddb /LUFA
parent6b5e684c77e5fa855b609d01e9a07fec296e9257 (diff)
downloadlufa-f9bcac5e00c949ec23135208da3f02c027992782.tar.gz
lufa-f9bcac5e00c949ec23135208da3f02c027992782.tar.bz2
lufa-f9bcac5e00c949ec23135208da3f02c027992782.zip
Fixed MIDI_Device_SendEventPacket() not correctly waiting for the endpoint to become ready (thanks to Robin Green).
Diffstat (limited to 'LUFA')
-rw-r--r--LUFA/Drivers/USB/Class/Device/MIDI.c2
-rw-r--r--LUFA/ManPages/ChangeLog.txt1
2 files changed, 2 insertions, 1 deletions
diff --git a/LUFA/Drivers/USB/Class/Device/MIDI.c b/LUFA/Drivers/USB/Class/Device/MIDI.c
index 966d72227..5703794ff 100644
--- a/LUFA/Drivers/USB/Class/Device/MIDI.c
+++ b/LUFA/Drivers/USB/Class/Device/MIDI.c
@@ -69,7 +69,7 @@ uint8_t MIDI_Device_SendEventPacket(USB_ClassInfo_MIDI_Device_t* const MIDIInter
Endpoint_SelectEndpoint(MIDIInterfaceInfo->Config.DataINEndpointNumber);
- if (Endpoint_IsReadWriteAllowed());
+ if (Endpoint_IsReadWriteAllowed())
{
uint8_t ErrorCode;
diff --git a/LUFA/ManPages/ChangeLog.txt b/LUFA/ManPages/ChangeLog.txt
index 27c90bae3..576459878 100644
--- a/LUFA/ManPages/ChangeLog.txt
+++ b/LUFA/ManPages/ChangeLog.txt
@@ -52,6 +52,7 @@
* PDI and TPI programming modes infinitely
* - Fixed HID device class driver still using PrevReportINBuffer for GetReport control requests even when it has been
* set to NULL by the user application (thanks to Axel Rohde)
+ * - Fixed MIDI_Device_SendEventPacket() not correctly waiting for the endpoint to become ready (thanks to Robin Green)
*
* \section Sec_ChangeLog100513 Version 100513
* <b>New:</b>