projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix accidental struct copies on the stack in the old RNDISEthernet demo TCP code.
[pub/USBasp.git]
/
Demos
/
Device
/
ClassDriver
/
KeyboardMouseMultiReport
/
Descriptors.c
diff --git
a/Demos/Device/ClassDriver/KeyboardMouseMultiReport/Descriptors.c
b/Demos/Device/ClassDriver/KeyboardMouseMultiReport/Descriptors.c
index
f08cdc7
..
f80678f
100644
(file)
--- a/
Demos/Device/ClassDriver/KeyboardMouseMultiReport/Descriptors.c
+++ b/
Demos/Device/ClassDriver/KeyboardMouseMultiReport/Descriptors.c
@@
-194,10
+194,10
@@
const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
{
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
{
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
- .EndpointAddress =
(ENDPOINT_DIR_IN | HID_IN_EPNUM)
,
+ .EndpointAddress =
HID_IN_EPADDR
,
.Attributes = (EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
.EndpointSize = HID_EPSIZE,
.Attributes = (EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
.EndpointSize = HID_EPSIZE,
- .PollingIntervalMS = 0x0
1
+ .PollingIntervalMS = 0x0
5
},
};
},
};