X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/d711e37d2f10f8df9a9ffdf974935c1f1d0a7906..7665bf323e76ed1ebcfd137e2ab0bd356b43a5e8:/Bootloaders/DFU/Descriptors.h?ds=sidebyside diff --git a/Bootloaders/DFU/Descriptors.h b/Bootloaders/DFU/Descriptors.h index 7765981ee..570bb6e08 100644 --- a/Bootloaders/DFU/Descriptors.h +++ b/Bootloaders/DFU/Descriptors.h @@ -44,11 +44,11 @@ #define DTYPE_DFUFunctional 0x21 /** DFU attribute mask, indicating that the DFU device will detach and re-attach when a DFU_DETACH - * command is issued, rather than the host issing a USB Reset. + * command is issued, rather than the host issuing a USB Reset. */ #define ATTR_WILL_DETATCH (1 << 3) - /** DFU attribute mask, indicating that the DFU device can communicate during the manefestation phase + /** DFU attribute mask, indicating that the DFU device can communicate during the manifestation phase * (memory programming phase). */ #define ATTR_MANEFESTATION_TOLLERANT (1 << 2) @@ -124,7 +124,7 @@ } USB_Descriptor_Configuration_t; /* Function Prototypes: */ - uint16_t USB_GetDescriptor(const uint16_t wValue, const uint8_t wIndex, void** const DescriptorAddress) - ATTR_WARN_UNUSED_RESULT ATTR_NON_NULL_PTR_ARG(3); + 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); #endif