aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/LowLevel/KeyboardMouse/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/KeyboardMouse/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/KeyboardMouse/Descriptors.c')
-rw-r--r--Demos/Device/LowLevel/KeyboardMouse/Descriptors.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Demos/Device/LowLevel/KeyboardMouse/Descriptors.c b/Demos/Device/LowLevel/KeyboardMouse/Descriptors.c
index 1fef38061..b2393bc88 100644
--- a/Demos/Device/LowLevel/KeyboardMouse/Descriptors.c
+++ b/Demos/Device/LowLevel/KeyboardMouse/Descriptors.c
@@ -196,7 +196,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | KEYBOARD_IN_EPNUM),
.Attributes = (EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
.EndpointSize = HID_EPSIZE,
- .PollingIntervalMS = 0x02
+ .PollingIntervalMS = 0x0A
},
.KeyboardOutEndpoint =
@@ -206,7 +206,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | KEYBOARD_OUT_EPNUM),
.Attributes = (EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
.EndpointSize = HID_EPSIZE,
- .PollingIntervalMS = 0x02
+ .PollingIntervalMS = 0x0A
},
.MouseInterface =
@@ -243,7 +243,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | MOUSE_IN_EPNUM),
.Attributes = (EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
.EndpointSize = HID_EPSIZE,
- .PollingIntervalMS = 0x02
+ .PollingIntervalMS = 0x0A
}
};