X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/d4ca7fb44c7d326b96cf391f0275dc323dbe24de..a7aaa45ec4c3f415bf6073a5cc016635d5ecf77d:/Demos/Host/ClassDriver/MIDIHost/MIDIHost.c?ds=sidebyside diff --git a/Demos/Host/ClassDriver/MIDIHost/MIDIHost.c b/Demos/Host/ClassDriver/MIDIHost/MIDIHost.c index c94214577..64e651944 100644 --- a/Demos/Host/ClassDriver/MIDIHost/MIDIHost.c +++ b/Demos/Host/ClassDriver/MIDIHost/MIDIHost.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2009. + Copyright (C) Dean Camera, 2010. dean [at] fourwalledcubicle [dot] com www.fourwalledcubicle.com */ /* - Copyright 2009 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2010 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -203,6 +203,7 @@ void CheckJoystickMovement(void) }; MIDI_Host_SendEventPacket(&Keyboard_MIDI_Interface, &MIDIEvent); + MIDI_Host_Flush(&Keyboard_MIDI_Interface); } PrevJoystickStatus = JoystickStatus;