Fix broken Host mode, from the recent API changes.
[pub/USBasp.git] / Demos / Device / MIDI / Descriptors.h
index f80e58b..616acab 100644 (file)
                } USB_AudioStreamEndpoint_Std_t;\r
 \r
                /** Type define for an Audio class specific MIDI IN jack. This gives information to the host on a MIDI input, either\r
-                *  a physical input jack, or a logical jack (recieving input data internally, or from the host via an endpoint).\r
+                *  a physical input jack, or a logical jack (receiving input data internally, or from the host via an endpoint).\r
                 */\r
                typedef struct\r
                {\r
                } USB_Descriptor_Configuration_t;\r
                \r
        /* Function Prototypes: */\r
-               uint16_t USB_GetDescriptor(const uint16_t wValue, const uint8_t wIndex, void** const DescriptorAddress)\r
-                                          ATTR_WARN_UNUSED_RESULT ATTR_NON_NULL_PTR_ARG(3);\r
+               uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue, const uint8_t wIndex, void** const DescriptorAddress)\r
+                                                                                       ATTR_WARN_UNUSED_RESULT ATTR_NON_NULL_PTR_ARG(3);\r
 \r
 #endif\r