Remove dependancies from the LowLevel demos to the ClassDriver demos, since the use...
[pub/USBasp.git] / LUFA / Drivers / USB / Class / MIDI.h
index a423e0b..96b23ef 100644 (file)
@@ -34,6 +34,7 @@
  *  \section Sec_Dependencies Module Source Dependencies\r
  *  The following files must be built with any user project that uses this module:\r
  *    - LUFA/Drivers/USB/Class/Device/MIDI.c\r
  *  \section Sec_Dependencies Module Source Dependencies\r
  *  The following files must be built with any user project that uses this module:\r
  *    - LUFA/Drivers/USB/Class/Device/MIDI.c\r
+ *    - LUFA/Drivers/USB/Class/Host/MIDI.c\r
  *\r
  *  \section Module Description\r
  *  MIDI Class Driver module. This module contains an internal implementation of the USB MIDI Class, for both Device\r
  *\r
  *  \section Module Description\r
  *  MIDI Class Driver module. This module contains an internal implementation of the USB MIDI Class, for both Device\r
        /* Includes: */\r
                #include "../HighLevel/USBMode.h"\r
 \r
        /* Includes: */\r
                #include "../HighLevel/USBMode.h"\r
 \r
+               #if defined(NO_STREAM_CALLBACKS)\r
+                       #error The NO_STREAM_CALLBACKS compile time option cannot be used in projects using the library Class drivers.\r
+               #endif\r
+\r
                #if defined(USB_CAN_BE_DEVICE)\r
                        #include "Device/MIDI.h"\r
                #endif\r
                #if defined(USB_CAN_BE_DEVICE)\r
                        #include "Device/MIDI.h"\r
                #endif\r
+\r
+               #if defined(USB_CAN_BE_HOST)\r
+                       #include "Host/MIDI.h"\r
+               #endif\r
                \r
 #endif\r
 \r
                \r
 #endif\r
 \r