From 92e9cb71e290ea7e05d15f4761b8a07d786a8aa9 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Wed, 2 Dec 2015 18:56:52 +1100 Subject: Fixed incorrect CALLBACK_USB_GetDescriptor() wIndex parameter type (thanks to matlo). --- Bootloaders/DFU/Descriptors.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bootloaders/DFU/Descriptors.h') diff --git a/Bootloaders/DFU/Descriptors.h b/Bootloaders/DFU/Descriptors.h index a19ce0968..5862f8953 100644 --- a/Bootloaders/DFU/Descriptors.h +++ b/Bootloaders/DFU/Descriptors.h @@ -186,7 +186,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); -- cgit v1.2.3