Corrections to Keyboard and Mouse combined demos so that all modes (normal, interrupt, fully interrupt) work correctly.
This commit is contained in:
parent
3ab07f0d93
commit
7184153e5d
5 changed files with 31 additions and 46 deletions
|
@ -163,7 +163,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
|
|||
EndpointAddress: (ENDPOINT_DESCRIPTOR_DIR_IN | KEYBOARD_EPNUM),
|
||||
Attributes: EP_TYPE_INTERRUPT,
|
||||
EndpointSize: KEYBOARD_EPSIZE,
|
||||
PollingIntervalMS: 0x02
|
||||
PollingIntervalMS: 0x04
|
||||
},
|
||||
|
||||
KeyboardLEDsEndpoint:
|
||||
|
@ -173,7 +173,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
|
|||
EndpointAddress: (ENDPOINT_DESCRIPTOR_DIR_OUT | KEYBOARD_LEDS_EPNUM),
|
||||
Attributes: EP_TYPE_INTERRUPT,
|
||||
EndpointSize: KEYBOARD_EPSIZE,
|
||||
PollingIntervalMS: 0x02
|
||||
PollingIntervalMS: 0x04
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue