Fixed incorrect CALLBACK_USB_GetDescriptor() wIndex parameter type (thanks to matlo).
[pub/USBasp.git] / Projects / AVRISP-MKII / AVRISPDescriptors.h
index b9ce100..c0dc6d7 100644 (file)
 
        /* Function Prototypes: */
                uint16_t AVRISP_GetDescriptor(const uint16_t wValue,
-                                             const uint8_t wIndex,
+                                             const uint16_t wIndex,
                                              const void** const DescriptorAddress,
                                              uint8_t* const DescriptorMemorySpace)
                                              ATTR_WARN_UNUSED_RESULT ATTR_NON_NULL_PTR_ARG(3) ATTR_NON_NULL_PTR_ARG(4);