Fix redefinition warning when USB_DEVICE_ONLY is set on an AVR which does not support USB host mode.
This commit is contained in:
parent
fef185a409
commit
5ca1d7bf8f
3 changed files with 5 additions and 2 deletions
|
@ -67,6 +67,7 @@ int main(void)
|
|||
{
|
||||
CheckJoystickMovement();
|
||||
|
||||
/* Must acknowedge MIDI packets from the host even though they aren't used, or the host locks up */
|
||||
MIDI_EventPacket_t DummyMIDIEvent;
|
||||
MIDI_Device_ReceiveEventPacket(&Keyboard_MIDI_Interface, &DummyMIDIEvent);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue