aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/ClassDriver/MassStorageKeyboard/Descriptors.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-11-22 05:24:33 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-11-22 05:24:33 +0000
commitc43605612d3cc18e159bc8e97c3838153ed6a258 (patch)
treeccf66ce5ac24090dcf737d33faa32c8750e1a5a3 /Demos/Device/ClassDriver/MassStorageKeyboard/Descriptors.c
parentb87d0b45a2d613c2ecfd79447ccd3b8ceaf0bddb (diff)
downloadlufa-c43605612d3cc18e159bc8e97c3838153ed6a258.tar.gz
lufa-c43605612d3cc18e159bc8e97c3838153ed6a258.tar.bz2
lufa-c43605612d3cc18e159bc8e97c3838153ed6a258.zip
Lower bulk endpoint polling rate in the descriptors to the lowest possible value to give maximum throughput.
Diffstat (limited to 'Demos/Device/ClassDriver/MassStorageKeyboard/Descriptors.c')
-rw-r--r--Demos/Device/ClassDriver/MassStorageKeyboard/Descriptors.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Demos/Device/ClassDriver/MassStorageKeyboard/Descriptors.c b/Demos/Device/ClassDriver/MassStorageKeyboard/Descriptors.c
index b8ecf0fdf..5459eb769 100644
--- a/Demos/Device/ClassDriver/MassStorageKeyboard/Descriptors.c
+++ b/Demos/Device/ClassDriver/MassStorageKeyboard/Descriptors.c
@@ -164,7 +164,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | MASS_STORAGE_IN_EPNUM),
.Attributes = (EP_TYPE_BULK | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
.EndpointSize = MASS_STORAGE_IO_EPSIZE,
- .PollingIntervalMS = 0x0A
+ .PollingIntervalMS = 0x01
},
.MS_DataOutEndpoint =
@@ -174,7 +174,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | MASS_STORAGE_OUT_EPNUM),
.Attributes = (EP_TYPE_BULK | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
.EndpointSize = MASS_STORAGE_IO_EPSIZE,
- .PollingIntervalMS = 0x0A
+ .PollingIntervalMS = 0x01
},
.HID_KeyboardInterface =