forked from mfulz_github/qmk_firmware
Fixes to the MIDI device demos (ClassDriver, LowLevel); discard unused read-in events from the host, use standard MIDI event structure in low level demo rather than sending individual bytes.
This commit is contained in:
1 parent
28343b1475
commit
6be24e4404
8 files changed
+61
-73
No files matched your search
@@ -63,6 +63,9 @@ int main(void)
|
||||
for (;;)
|
||||
{
|
||||
CheckJoystickMovement();
|
||||
|
||||
USB_MIDI_EventPacket_t DummyMIDIEvent;
|
||||
USB_MIDI_ReceiveEventPacket(&Keyboard_MIDI_Interface, &DummyMIDIEvent);
|
||||
|
||||
USB_MIDI_USBTask(&Keyboard_MIDI_Interface);
|
||||
USB_USBTask();
|
||||
|
||||
Reference in new issue
Block a user