aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/CodeTemplates/DeviceTemplate/Descriptors.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2015-12-02 18:56:52 +1100
committerDean Camera <dean@fourwalledcubicle.com>2015-12-02 18:56:52 +1100
commit92e9cb71e290ea7e05d15f4761b8a07d786a8aa9 (patch)
treeb92a141f35ade993da399a1c068839b65a2319a3 /LUFA/CodeTemplates/DeviceTemplate/Descriptors.c
parentf42a4f3a47f23208d70dca308d302d9ba5a80c46 (diff)
downloadlufa-92e9cb71e290ea7e05d15f4761b8a07d786a8aa9.tar.gz
lufa-92e9cb71e290ea7e05d15f4761b8a07d786a8aa9.tar.bz2
lufa-92e9cb71e290ea7e05d15f4761b8a07d786a8aa9.zip
Fixed incorrect CALLBACK_USB_GetDescriptor() wIndex parameter type (thanks to matlo).
Diffstat (limited to 'LUFA/CodeTemplates/DeviceTemplate/Descriptors.c')
-rw-r--r--LUFA/CodeTemplates/DeviceTemplate/Descriptors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/CodeTemplates/DeviceTemplate/Descriptors.c b/LUFA/CodeTemplates/DeviceTemplate/Descriptors.c
index 2edbc5c3b..e9587ca9c 100644
--- a/LUFA/CodeTemplates/DeviceTemplate/Descriptors.c
+++ b/LUFA/CodeTemplates/DeviceTemplate/Descriptors.c
@@ -127,7 +127,7 @@ const USB_Descriptor_String_t ProductString =
* 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