aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/ClassDriver/MIDIHost
diff options
context:
space:
mode:
Diffstat (limited to 'Demos/Host/ClassDriver/MIDIHost')
-rw-r--r--Demos/Host/ClassDriver/MIDIHost/MIDIHost.c1
1 files changed, 1 insertions, 0 deletions
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;