Fixed incorrect CALLBACK_USB_GetDescriptor() wIndex parameter type (thanks to matlo).
[pub/USBasp.git] / LUFA / CodeTemplates / DeviceTemplate / Descriptors.c
index 2edbc5c..e9587ca 100644 (file)
@@ -127,7 +127,7 @@ const USB_Descriptor_String_t ProductString =
  *  USB host.
  */
 uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue,
  *  USB host.
  */
 uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue,
-                                    const uint8_t wIndex,
+                                    const uint16_t wIndex,
                                     const void** const DescriptorAddress
                                                                        #if defined(HAS_MULTIPLE_DESCRIPTOR_ADDRESS_SPACES)
                                                                        , uint8_t* const DescriptorMemorySpace
                                     const void** const DescriptorAddress
                                                                        #if defined(HAS_MULTIPLE_DESCRIPTOR_ADDRESS_SPACES)
                                                                        , uint8_t* const DescriptorMemorySpace