Fixed EVENT_USB_CDC_ControLineStateChanged() event not taking the CDC interface struc...
[pub/USBasp.git] / Bootloaders / DFU / Descriptors.h
index 7765981..570bb6e 100644 (file)
                #define DTYPE_DFUFunctional               0x21\r
                \r
                /** DFU attribute mask, indicating that the DFU device will detach and re-attach when a DFU_DETACH\r
-                *  command is issued, rather than the host issing a USB Reset.\r
+                *  command is issued, rather than the host issuing a USB Reset.\r
                 */\r
                #define ATTR_WILL_DETATCH                 (1 << 3)\r
 \r
-               /** DFU attribute mask, indicating that the DFU device can communicate during the manefestation phase\r
+               /** DFU attribute mask, indicating that the DFU device can communicate during the manifestation phase\r
                 *  (memory programming phase).\r
                 */\r
                #define ATTR_MANEFESTATION_TOLLERANT      (1 << 2)\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