Fixed incorrect CALLBACK_USB_GetDescriptor() wIndex parameter type (thanks to matlo).
[pub/USBasp.git] / Projects / RelayBoard / Descriptors.c
index 4ea58b5..4b24cd7 100644 (file)
@@ -139,7 +139,7 @@ const USB_Descriptor_String_t PROGMEM RelayBoard_SerialString = USB_STRING_DESCR
  *  USB host.
  */
 uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue,
-                                    const uint8_t wIndex,
+                                    const uint16_t wIndex,
                                     const void** const DescriptorAddress)
 {
        const uint8_t  DescriptorType   = (wValue >> 8);