Fixed incorrect CALLBACK_USB_GetDescriptor() wIndex parameter type (thanks to matlo).
[pub/USBasp.git] / Demos / Device / LowLevel / Joystick / Descriptors.h
index 8f2cfab..4e8d46f 100644 (file)
@@ -91,7 +91,7 @@
 
        /* Function Prototypes: */
                uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue,
-                                                   const uint8_t wIndex,
+                                                   const uint16_t wIndex,
                                                    const void** const DescriptorAddress)
                                                    ATTR_WARN_UNUSED_RESULT ATTR_NON_NULL_PTR_ARG(3);