diff options
Diffstat (limited to 'Demos/Device/ClassDriver/MIDI')
-rw-r--r-- | Demos/Device/ClassDriver/MIDI/MIDI.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Demos/Device/ClassDriver/MIDI/MIDI.c b/Demos/Device/ClassDriver/MIDI/MIDI.c index 8881d1dc7..bb4eaf2df 100644 --- a/Demos/Device/ClassDriver/MIDI/MIDI.c +++ b/Demos/Device/ClassDriver/MIDI/MIDI.c @@ -63,6 +63,9 @@ int main(void) for (;;)
{
CheckJoystickMovement();
+
+ USB_MIDI_EventPacket_t DummyMIDIEvent;
+ USB_MIDI_ReceiveEventPacket(&Keyboard_MIDI_Interface, &DummyMIDIEvent);
USB_MIDI_USBTask(&Keyboard_MIDI_Interface);
USB_USBTask();
|