aboutsummaryrefslogtreecommitdiff
path: root/Demos/Host/ClassDriver/MIDIHost/MIDIHost.c
diff options
context:
space:
mode:
authorDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2012-04-14 14:41:17 +0000
committerDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2012-04-14 14:41:17 +0000
commit94de7b022257ab85bcd7fc4d907e69d0f65c3505 (patch)
tree3f5842347a696c92beb74bc255c9489e6c38f49d /Demos/Host/ClassDriver/MIDIHost/MIDIHost.c
parenta3480ecdf39707d8d3b54f4c917b60a32394d594 (diff)
Reintegrate the FullEPAddresses development branch into trunk.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2155 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Demos/Host/ClassDriver/MIDIHost/MIDIHost.c')
-rw-r--r--Demos/Host/ClassDriver/MIDIHost/MIDIHost.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/Demos/Host/ClassDriver/MIDIHost/MIDIHost.c b/Demos/Host/ClassDriver/MIDIHost/MIDIHost.c
index 8293fbd3..129bd3d6 100644
--- a/Demos/Host/ClassDriver/MIDIHost/MIDIHost.c
+++ b/Demos/Host/ClassDriver/MIDIHost/MIDIHost.c
@@ -44,11 +44,16 @@ USB_ClassInfo_MIDI_Host_t Keyboard_MIDI_Interface =
{
.Config =
{
- .DataINPipeNumber = 1,
- .DataINPipeDoubleBank = false,
-
- .DataOUTPipeNumber = 2,
- .DataOUTPipeDoubleBank = false,
+ .DataINPipe =
+ {
+ .Address = (PIPE_DIR_IN | 1),
+ .Banks = 1,
+ },
+ .DataOUTPipe =
+ {
+ .Address = (PIPE_DIR_OUT | 2),
+ .Banks = 1,
+ },
},
};