diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-07-30 07:45:36 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-07-30 07:45:36 +0000 |
commit | 5ca1d7bf8f1aa774c076b614fa692c2026d7e854 (patch) | |
tree | 9a9a09e422e8c7d96e30d9d2854bd504f6780090 /Demos/Device | |
parent | fef185a409e2fee980d5fd391813a1cb7809582a (diff) | |
download | lufa-5ca1d7bf8f1aa774c076b614fa692c2026d7e854.tar.gz lufa-5ca1d7bf8f1aa774c076b614fa692c2026d7e854.tar.bz2 lufa-5ca1d7bf8f1aa774c076b614fa692c2026d7e854.zip |
Fix redefinition warning when USB_DEVICE_ONLY is set on an AVR which does not support USB host mode.
Diffstat (limited to 'Demos/Device')
-rw-r--r-- | Demos/Device/ClassDriver/MIDI/MIDI.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Demos/Device/ClassDriver/MIDI/MIDI.c b/Demos/Device/ClassDriver/MIDI/MIDI.c index 243ae9ec8..fcb86d661 100644 --- a/Demos/Device/ClassDriver/MIDI/MIDI.c +++ b/Demos/Device/ClassDriver/MIDI/MIDI.c @@ -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);
|