diff options
| author | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2009-11-07 03:51:24 +0000 |
|---|---|---|
| committer | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2009-11-07 03:51:24 +0000 |
| commit | 452f2c3afa5d039e38464179f37e911077d83d43 (patch) | |
| tree | d56ab85da8a50eda61feb3d625d2f53f06bd66e7 /Demos/Host/ClassDriver/MIDIHost/MIDIHost.c | |
| parent | c4ef7b0a99dd31236c2b9de2674f348cfafcab93 (diff) | |
Add optional pipe double banking support to the Host mode Class drivers.
Descriptor processing routines now pass around void pointers rather than uint8_t pointers, as their destination datatype is know well known -- they are just streams of bytes until they are cast to the correct destination type by DESCRIPTOR_CAST.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@884 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Demos/Host/ClassDriver/MIDIHost/MIDIHost.c')
| -rw-r--r-- | Demos/Host/ClassDriver/MIDIHost/MIDIHost.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Demos/Host/ClassDriver/MIDIHost/MIDIHost.c b/Demos/Host/ClassDriver/MIDIHost/MIDIHost.c index f575d8ec..9a59be08 100644 --- a/Demos/Host/ClassDriver/MIDIHost/MIDIHost.c +++ b/Demos/Host/ClassDriver/MIDIHost/MIDIHost.c @@ -45,7 +45,10 @@ USB_ClassInfo_MIDI_Host_t Keyboard_MIDI_Interface = .Config =
{
.DataINPipeNumber = 1,
+ .DataINPipeDoubleBank = false,
+
.DataOUTPipeNumber = 2,
+ .DataOUTPipeDoubleBank = false,
},
};
|
