Added CDC functional descriptor structs to the Low Level CDC demos and CDC class...
[pub/lufa.git] / Demos / Device / LowLevel / MIDI / Descriptors.h
index afb74c6..5aebd8f 100644 (file)
                #include <avr/pgmspace.h>
 
        /* Macros: */
-               /** Descriptor header constant to indicate a Audio class interface descriptor. */
-               #define DTYPE_AudioInterface        0x24
-
-               /** Descriptor header constant to indicate a Audio class endpoint descriptor. */
-               #define DTYPE_AudioEndpoint         0x25
-
                /** Audio class descriptor subtype value for a Audio class specific header descriptor. */
-               #define DSUBTYPE_Header             0x01
+               #define DSUBTYPE_AudioHeader        0x01
 
                /** Audio class descriptor subtype value for a Audio class specific MIDI input jack descriptor. */
                #define DSUBTYPE_InputJack          0x02
        /* Function Prototypes: */
                uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue,
                                                    const uint8_t wIndex,
-                                                   void** const DescriptorAddress) ATTR_WARN_UNUSED_RESULT ATTR_NON_NULL_PTR_ARG(3);
+                                                   const void** const DescriptorAddress)
+                                                   ATTR_WARN_UNUSED_RESULT ATTR_NON_NULL_PTR_ARG(3);
 
 #endif