summaryrefslogtreecommitdiff
path: root/BootLoaderHID/Descriptors.c
diff options
context:
space:
mode:
Diffstat (limited to 'BootLoaderHID/Descriptors.c')
-rw-r--r--BootLoaderHID/Descriptors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/BootLoaderHID/Descriptors.c b/BootLoaderHID/Descriptors.c
index 50e9b90..9579f6e 100644
--- a/BootLoaderHID/Descriptors.c
+++ b/BootLoaderHID/Descriptors.c
@@ -161,7 +161,7 @@ const USB_Descriptor_Configuration_t ConfigurationDescriptor =
* 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);