summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author(no author) <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2006-07-30 10:15:14 +0000
committer(no author) <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2006-07-30 10:15:14 +0000
commit628c6776c9a4736fdb434a597ccccf602ef90c39 (patch)
tree3a257d309ea1debca118f88127784b059fa972c3
parentc19a9345b92522c905f75fcdcd5d8fea6678887c (diff)
fix poll interval fields in endpoint descriptors
git-svn-id: https://svn.openpcd.org:2342/trunk@60 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
-rw-r--r--openpcd/firmware/src/pcd_enumerate.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/openpcd/firmware/src/pcd_enumerate.c b/openpcd/firmware/src/pcd_enumerate.c
index 82f2d43..80926bc 100644
--- a/openpcd/firmware/src/pcd_enumerate.c
+++ b/openpcd/firmware/src/pcd_enumerate.c
@@ -85,21 +85,21 @@ const struct _desc cfgDescriptor = {
.bEndpointAddress = OPENPCD_OUT_EP,
.bmAttributes = USB_ENDPOINT_XFER_BULK,
.wMaxPacketSize = 64,
- .bInterval = 0x10, /* FIXME */
+ .bInterval = 0x00,
}, {
.bLength = USB_DT_ENDPOINT_SIZE,
.bDescriptorType = USB_DT_ENDPOINT,
.bEndpointAddress = OPENPCD_IN_EP,
.bmAttributes = USB_ENDPOINT_XFER_BULK,
.wMaxPacketSize = 64,
- .bInterval = 0x10, /* FIXME */
+ .bInterval = 0x00,
}, {
.bLength = USB_DT_ENDPOINT_SIZE,
.bDescriptorType = USB_DT_ENDPOINT,
.bEndpointAddress = OPENPCD_IRQ_EP,
.bmAttributes = USB_ENDPOINT_XFER_INT,
.wMaxPacketSize = 64,
- .bInterval = 0x10, /* FIXME */
+ .bInterval = 0xff, /* FIXME */
},
},
};
personal git repositories of Harald Welte. Your mileage may vary