Fixed misnamed SI_Host_USBTask() and SI_Host_ConfigurePipes() functions.
[pub/USBasp.git] / LUFA / Drivers / USB / Class / MIDI.h
index a423e0b..d0f9eec 100644 (file)
 */\r
 \r
 /** \ingroup Group_USBClassDrivers\r
- *  @defgroup Group_USBClassMIDI MIDI Device Class Driver - LUFA/Drivers/Class/MIDI.h\r
+ *  @defgroup Group_USBClassMIDI MIDI Class Driver - LUFA/Drivers/Class/MIDI.h\r
  *\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
- *  and Host USB modes. User applications can use this class driver instead of implementing the MIDI class manuall\r
+ *  and Host USB modes. User applications can use this class driver instead of implementing the MIDI class manually\r
  *  via the low-level LUFA APIs.\r
  *\r
- *  This module is designed to simplify the user code by exposing only the required interface needed to interace with\r
+ *  This module is designed to simplify the user code by exposing only the required interface needed to interface with\r
  *  Hosts or Devices using the USB MIDI Class.\r
  *\r
  *  \note The USB MIDI class is actually a special case of the regular Audio class, thus this module depends on\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
+\r
+               #if defined(USB_CAN_BE_HOST)\r
+                       #include "Host/MIDI.h"\r
+               #endif\r
                \r
 #endif\r
 \r