Added support to the MIDI Class drivers for packed data, where multiple MIDI events are packed into a single USB packet. Added new MIDI Class driver flush routines to override packing behaviour.
This commit is contained in:
@@ -158,6 +158,7 @@ void CheckJoystickMovement(void)
|
||||
};
|
||||
|
||||
MIDI_Device_SendEventPacket(&Keyboard_MIDI_Interface, &MIDIEvent);
|
||||
MIDI_Device_Flush(&Keyboard_MIDI_Interface);
|
||||
}
|
||||
|
||||
PrevJoystickStatus = JoystickStatus;
|
||||
|
||||
Reference in New Issue
Block a user