Fix redefinition warning when USB_DEVICE_ONLY is set on an AVR which does not support...
[pub/USBasp.git] / Demos / Device / ClassDriver / MIDI / MIDI.c
index 243ae9e..fcb86d6 100644 (file)
@@ -67,6 +67,7 @@ int main(void)
        {\r
                CheckJoystickMovement();\r
                \r
+               /* Must acknowedge MIDI packets from the host even though they aren't used, or the host locks up */\r
                MIDI_EventPacket_t DummyMIDIEvent;\r
                MIDI_Device_ReceiveEventPacket(&Keyboard_MIDI_Interface, &DummyMIDIEvent);\r
        \r