aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/ClassDriver/MIDI/MIDI.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-11-06 13:43:18 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-11-06 13:43:18 +0000
commitf7ab433c67b86723385ec05ee9c7b96dd18e6dde (patch)
tree6f5efdffd16bc2bca9c032ef7e6ea944a757b529 /Demos/Device/ClassDriver/MIDI/MIDI.c
parent1c7aa68596da103137bdfe20f3baa20dcf7faae2 (diff)
downloadlufa-f7ab433c67b86723385ec05ee9c7b96dd18e6dde.tar.gz
lufa-f7ab433c67b86723385ec05ee9c7b96dd18e6dde.tar.bz2
lufa-f7ab433c67b86723385ec05ee9c7b96dd18e6dde.zip
Add optional double-banking support to the Device mode Class Drivers, on a per-endpoint, per-interface level.
Diffstat (limited to 'Demos/Device/ClassDriver/MIDI/MIDI.c')
-rw-r--r--Demos/Device/ClassDriver/MIDI/MIDI.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/Demos/Device/ClassDriver/MIDI/MIDI.c b/Demos/Device/ClassDriver/MIDI/MIDI.c
index d50a254a2..b70482787 100644
--- a/Demos/Device/ClassDriver/MIDI/MIDI.c
+++ b/Demos/Device/ClassDriver/MIDI/MIDI.c
@@ -46,11 +46,13 @@ USB_ClassInfo_MIDI_Device_t Keyboard_MIDI_Interface =
{
.StreamingInterfaceNumber = 1,
- .DataINEndpointNumber = MIDI_STREAM_IN_EPNUM,
- .DataINEndpointSize = MIDI_STREAM_EPSIZE,
+ .DataINEndpointNumber = MIDI_STREAM_IN_EPNUM,
+ .DataINEndpointSize = MIDI_STREAM_EPSIZE,
+ .DataINEndpointDoubleBank = false,
- .DataOUTEndpointNumber = MIDI_STREAM_OUT_EPNUM,
- .DataOUTEndpointSize = MIDI_STREAM_EPSIZE,
+ .DataOUTEndpointNumber = MIDI_STREAM_OUT_EPNUM,
+ .DataOUTEndpointSize = MIDI_STREAM_EPSIZE,
+ .DataOUTEndpointDoubleBank = false,
},
};