projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed incorrect CALLBACK_USB_GetDescriptor() wIndex parameter type (thanks to matlo).
[pub/USBasp.git]
/
Demos
/
Device
/
ClassDriver
/
Keyboard
/
Descriptors.c
diff --git
a/Demos/Device/ClassDriver/Keyboard/Descriptors.c
b/Demos/Device/ClassDriver/Keyboard/Descriptors.c
index
d18ccc7
..
af3e800
100644
(file)
--- a/
Demos/Device/ClassDriver/Keyboard/Descriptors.c
+++ b/
Demos/Device/ClassDriver/Keyboard/Descriptors.c
@@
-163,7
+163,7
@@
const USB_Descriptor_String_t PROGMEM ProductString = USB_STRING_DESCRIPTOR(L"LU
* USB host.
*/
uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue,
* USB host.
*/
uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue,
- const uint
8
_t wIndex,
+ const uint
16
_t wIndex,
const void** const DescriptorAddress)
{
const uint8_t DescriptorType = (wValue >> 8);
const void** const DescriptorAddress)
{
const uint8_t DescriptorType = (wValue >> 8);