X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/7f9f97c792dee6875fbca9806422bdd7d6c5a657..04d40897cf98469b39f1d97208a51deb65f70bc5:/Demos/Host/ClassDriver/MIDIHost/MIDIHost.c?ds=inline diff --git a/Demos/Host/ClassDriver/MIDIHost/MIDIHost.c b/Demos/Host/ClassDriver/MIDIHost/MIDIHost.c index 098a7fe47..64e651944 100644 --- a/Demos/Host/ClassDriver/MIDIHost/MIDIHost.c +++ b/Demos/Host/ClassDriver/MIDIHost/MIDIHost.c @@ -203,6 +203,7 @@ void CheckJoystickMovement(void) }; MIDI_Host_SendEventPacket(&Keyboard_MIDI_Interface, &MIDIEvent); + MIDI_Host_Flush(&Keyboard_MIDI_Interface); } PrevJoystickStatus = JoystickStatus;