mirror of
https://github.com/zsa/qmk_firmware.git
synced 2026-05-04 06:33:03 +00:00
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:
@@ -203,6 +203,7 @@ void CheckJoystickMovement(void)
|
||||
};
|
||||
|
||||
MIDI_Host_SendEventPacket(&Keyboard_MIDI_Interface, &MIDIEvent);
|
||||
MIDI_Host_Flush(&Keyboard_MIDI_Interface);
|
||||
}
|
||||
|
||||
PrevJoystickStatus = JoystickStatus;
|
||||
|
||||
@@ -158,7 +158,7 @@ uint8_t ProcessConfigurationDescriptor(void)
|
||||
}
|
||||
else
|
||||
{
|
||||
/* Only configure the OUT data pipe if the data endpoints haev not shown to be bidirectional */
|
||||
/* Only configure the OUT data pipe if the data endpoints have not shown to be bidirectional */
|
||||
if (!(Pipe_IsEndpointBound(EndpointData->EndpointAddress)))
|
||||
{
|
||||
/* Configure the data OUT pipe */
|
||||
|
||||
@@ -158,7 +158,7 @@ uint8_t ProcessConfigurationDescriptor(void)
|
||||
}
|
||||
else
|
||||
{
|
||||
/* Only configure the OUT data pipe if the data endpoints haev not shown to be bidirectional */
|
||||
/* Only configure the OUT data pipe if the data endpoints have not shown to be bidirectional */
|
||||
if (!(Pipe_IsEndpointBound(EndpointData->EndpointAddress)))
|
||||
{
|
||||
/* Configure the data OUT pipe */
|
||||
|
||||
Reference in New Issue
Block a user