Fixed MIDI_Device_SendEventPacket() not correctly waiting for the endpoint to become...
[pub/USBasp.git] / LUFA / Drivers / USB / Class / Device / MIDI.c
index 966d722..5703794 100644 (file)
@@ -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;