aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/LowLevel/GenericHID
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/GenericHID
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/GenericHID')
-rw-r--r--Demos/Device/LowLevel/GenericHID/Descriptors.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Demos/Device/LowLevel/GenericHID/Descriptors.c b/Demos/Device/LowLevel/GenericHID/Descriptors.c
index 723d8c2b6..01ac1cdc7 100644
--- a/Demos/Device/LowLevel/GenericHID/Descriptors.c
+++ b/Demos/Device/LowLevel/GenericHID/Descriptors.c
@@ -146,7 +146,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | GENERIC_IN_EPNUM),
.Attributes = (EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
.EndpointSize = GENERIC_EPSIZE,
- .PollingIntervalMS = 0x02
+ .PollingIntervalMS = 0x0A
},
.GenericOUTEndpoint =
@@ -156,7 +156,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | GENERIC_OUT_EPNUM),
.Attributes = (EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
.EndpointSize = GENERIC_EPSIZE,
- .PollingIntervalMS = 0x02
+ .PollingIntervalMS = 0x0A
}
};