aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Class/MIDI.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-10-08 08:46:27 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-10-08 08:46:27 +0000
commitc7bc3ec391da3904f0db6398171c7fed37d4f836 (patch)
treedaec9cabab609050e8f7f693a1ee41253e03c009 /LUFA/Drivers/USB/Class/MIDI.h
parent664a2921816069483604f5e05a2a02b6ddf8727a (diff)
downloadlufa-c7bc3ec391da3904f0db6398171c7fed37d4f836.tar.gz
lufa-c7bc3ec391da3904f0db6398171c7fed37d4f836.tar.bz2
lufa-c7bc3ec391da3904f0db6398171c7fed37d4f836.zip
Add new MIDI Host Class driver to the library, and new MIDIHost ClassDriver demo.
Make MouseHost and KeyboardHost ClassDriver demos use the HID Class driver's structures for the boot protocol Mouse/Keyboard report data, rather than rolling their own.
Diffstat (limited to 'LUFA/Drivers/USB/Class/MIDI.h')
-rw-r--r--LUFA/Drivers/USB/Class/MIDI.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/LUFA/Drivers/USB/Class/MIDI.h b/LUFA/Drivers/USB/Class/MIDI.h
index a423e0bfd..a38c3d878 100644
--- a/LUFA/Drivers/USB/Class/MIDI.h
+++ b/LUFA/Drivers/USB/Class/MIDI.h
@@ -34,6 +34,7 @@
* \section Sec_Dependencies Module Source Dependencies
* The following files must be built with any user project that uses this module:
* - LUFA/Drivers/USB/Class/Device/MIDI.c
+ * - LUFA/Drivers/USB/Class/Host/MIDI.c
*
* \section Module Description
* MIDI Class Driver module. This module contains an internal implementation of the USB MIDI Class, for both Device
@@ -58,6 +59,10 @@
#if defined(USB_CAN_BE_DEVICE)
#include "Device/MIDI.h"
#endif
+
+ #if defined(USB_CAN_BE_HOST)
+ #include "Host/MIDI.h"
+ #endif
#endif