aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/LowLevel/Keyboard/Descriptors.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-08-13 08:26:59 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-08-13 08:26:59 +0000
commit25ddbb9e3bcf184ebf1c17ea254b3c0c924327e2 (patch)
tree7f0770a5c611caf4c1aaa55849a73c40618468d4 /Demos/Device/LowLevel/Keyboard/Descriptors.c
parent99abd1a8b7c096baf5ddaff84a8f8fdfb097dfc2 (diff)
downloadlufa-25ddbb9e3bcf184ebf1c17ea254b3c0c924327e2.tar.gz
lufa-25ddbb9e3bcf184ebf1c17ea254b3c0c924327e2.tar.bz2
lufa-25ddbb9e3bcf184ebf1c17ea254b3c0c924327e2.zip
Adjust endpoint polling intervals for HID demos, to make them compliant with the 10ms minimum polling period for Low Speed devices.
Diffstat (limited to 'Demos/Device/LowLevel/Keyboard/Descriptors.c')
-rw-r--r--Demos/Device/LowLevel/Keyboard/Descriptors.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Demos/Device/LowLevel/Keyboard/Descriptors.c b/Demos/Device/LowLevel/Keyboard/Descriptors.c
index 9dae452de..9e3126962 100644
--- a/Demos/Device/LowLevel/Keyboard/Descriptors.c
+++ b/Demos/Device/LowLevel/Keyboard/Descriptors.c
@@ -163,7 +163,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | KEYBOARD_EPNUM),
.Attributes = (EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
.EndpointSize = KEYBOARD_EPSIZE,
- .PollingIntervalMS = 0x04
+ .PollingIntervalMS = 0x0A
},
.KeyboardLEDsEndpoint =
@@ -173,7 +173,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | KEYBOARD_LEDS_EPNUM),
.Attributes = (EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
.EndpointSize = KEYBOARD_EPSIZE,
- .PollingIntervalMS = 0x04
+ .PollingIntervalMS = 0x0A
}
};