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/Magstripe/Descriptors.c | |
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/Magstripe/Descriptors.c')
-rw-r--r-- | Projects/Magstripe/Descriptors.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Projects/Magstripe/Descriptors.c b/Projects/Magstripe/Descriptors.c index 6659e06db..dc2d0341e 100644 --- a/Projects/Magstripe/Descriptors.c +++ b/Projects/Magstripe/Descriptors.c @@ -163,7 +163,7 @@ const USB_Descriptor_String_t PROGMEM ProductString = USB_STRING_DESCRIPTOR(L"Ma * 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); |