Added support for the Pololu A-Star Micro board (thanks to Joh Schneider).
[pub/USBasp.git] / Bootloaders / DFU / Descriptors.h
index d31fca8..5862f89 100644 (file)
                #elif defined(__AVR_AT90USB82__)
                        #define PRODUCT_ID_CODE               0x2FF7
                        #define AVR_SIGNATURE_1               0x1E
-                       #define AVR_SIGNATURE_2               0x94
+                       #define AVR_SIGNATURE_2               0x93
                        #define AVR_SIGNATURE_3               0x82
                #else
                        #error The selected AVR part is not currently supported by this bootloader.
 
        /* 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);