Fixed incorrect comparison in the descriptor callback routine of the TeensyHID bootlo...
[pub/USBasp.git] / LUFA / Drivers / USB / Class / Device / MIDI.h
index 8517782..11a05bf 100644 (file)
   this software.\r
 */\r
 \r
+/** \file\r
+ *  \brief Device mode driver for the library USB MIDI Class driver.\r
+ *\r
+ *  Device mode driver for the library USB MIDI Class driver.\r
+ *\r
+ *  \note This file should not be included directly. It is automatically included as needed by the class driver\r
+ *        dispatch header located in LUFA/Drivers/USB/Class/MIDI.h.\r
+ */\r
+\r
 /** \ingroup Group_USBClassMIDI\r
  *  @defgroup Group_USBClassMIDIDevice MIDI Class Device Mode Driver\r
  *\r
@@ -47,7 +56,6 @@
        /* Includes: */\r
                #include "../../USB.h"\r
                #include "../Common/MIDI.h"\r
-               #include "Audio.h"\r
 \r
                #include <string.h>\r
 \r
                        extern "C" {\r
                #endif\r
 \r
+       /* Preprocessor Checks: */\r
+               #if !defined(__INCLUDE_FROM_MIDI_DRIVER)\r
+                       #error Do not include this file directly. Include LUFA/Drivers/Class/MIDI.h instead.\r
+               #endif\r
+\r
        /* Public Interface - May be used in end-application: */\r
                /* Type Define: */\r
-                       /** Class state structure. An instance of this structure should be made for each MIDI interface\r
+                       /** \brief MIDI Class Device Mode Configuration and State Structure.\r
+                        *\r
+                        *  Class state structure. An instance of this structure should be made for each MIDI interface\r
                         *  within the user application, and passed to each of the MIDI class driver functions as the\r
                         *  MIDIInterfaceInfo parameter. This stores each MIDI interface's configuration and state information.\r
                         */\r