diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2015-12-02 18:56:52 +1100 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2015-12-02 18:56:52 +1100 |
commit | 92e9cb71e290ea7e05d15f4761b8a07d786a8aa9 (patch) | |
tree | b92a141f35ade993da399a1c068839b65a2319a3 /Projects/AVRISP-MKII | |
parent | f42a4f3a47f23208d70dca308d302d9ba5a80c46 (diff) | |
download | lufa-92e9cb71e290ea7e05d15f4761b8a07d786a8aa9.tar.gz lufa-92e9cb71e290ea7e05d15f4761b8a07d786a8aa9.tar.bz2 lufa-92e9cb71e290ea7e05d15f4761b8a07d786a8aa9.zip |
Fixed incorrect CALLBACK_USB_GetDescriptor() wIndex parameter type (thanks to matlo).
Diffstat (limited to 'Projects/AVRISP-MKII')
-rw-r--r-- | Projects/AVRISP-MKII/AVRISP-MKII.c | 2 | ||||
-rw-r--r-- | Projects/AVRISP-MKII/AVRISP-MKII.h | 2 | ||||
-rw-r--r-- | Projects/AVRISP-MKII/AVRISPDescriptors.c | 2 | ||||
-rw-r--r-- | Projects/AVRISP-MKII/AVRISPDescriptors.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/Projects/AVRISP-MKII/AVRISP-MKII.c b/Projects/AVRISP-MKII/AVRISP-MKII.c index 6d4bc89ae..9e03b38a3 100644 --- a/Projects/AVRISP-MKII/AVRISP-MKII.c +++ b/Projects/AVRISP-MKII/AVRISP-MKII.c @@ -157,7 +157,7 @@ void AVRISP_Task(void) * \return Length of the retrieved descriptor in bytes, or NO_DESCRIPTOR if the descriptor was not found */ uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue, - const uint8_t wIndex, + const uint16_t wIndex, const void** const DescriptorAddress, uint8_t* DescriptorMemorySpace) { diff --git a/Projects/AVRISP-MKII/AVRISP-MKII.h b/Projects/AVRISP-MKII/AVRISP-MKII.h index ed796726b..e1ec88ee3 100644 --- a/Projects/AVRISP-MKII/AVRISP-MKII.h +++ b/Projects/AVRISP-MKII/AVRISP-MKII.h @@ -82,7 +82,7 @@ void EVENT_USB_Device_ConfigurationChanged(void); uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue, - const uint8_t wIndex, + const uint16_t wIndex, const void** const DescriptorAddress, uint8_t* const DescriptorMemorySpace) ATTR_WARN_UNUSED_RESULT ATTR_NON_NULL_PTR_ARG(3) ATTR_NON_NULL_PTR_ARG(4); diff --git a/Projects/AVRISP-MKII/AVRISPDescriptors.c b/Projects/AVRISP-MKII/AVRISPDescriptors.c index 4fbeef597..a37708528 100644 --- a/Projects/AVRISP-MKII/AVRISPDescriptors.c +++ b/Projects/AVRISP-MKII/AVRISPDescriptors.c @@ -170,7 +170,7 @@ USB_Descriptor_String_t AVRISP_SerialString = USB_STRING_DESCRIPTOR(L"0002000123 * USB host. */ uint16_t AVRISP_GetDescriptor(const uint16_t wValue, - const uint8_t wIndex, + const uint16_t wIndex, const void** const DescriptorAddress, uint8_t* DescriptorMemorySpace) { diff --git a/Projects/AVRISP-MKII/AVRISPDescriptors.h b/Projects/AVRISP-MKII/AVRISPDescriptors.h index b9ce100b1..c0dc6d75a 100644 --- a/Projects/AVRISP-MKII/AVRISPDescriptors.h +++ b/Projects/AVRISP-MKII/AVRISPDescriptors.h @@ -114,7 +114,7 @@ /* Function Prototypes: */ uint16_t AVRISP_GetDescriptor(const uint16_t wValue, - const uint8_t wIndex, + const uint16_t wIndex, const void** const DescriptorAddress, uint8_t* const DescriptorMemorySpace) ATTR_WARN_UNUSED_RESULT ATTR_NON_NULL_PTR_ARG(3) ATTR_NON_NULL_PTR_ARG(4); |