aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/Benito/Descriptors.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-08-13 08:14:16 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-08-13 08:14:16 +0000
commit99abd1a8b7c096baf5ddaff84a8f8fdfb097dfc2 (patch)
tree9bba0a7d135766431ab58076b5753e68f7005736 /Projects/Benito/Descriptors.c
parentdf5500e81cc40633eb5edee59410030f0aa77c2d (diff)
downloadlufa-99abd1a8b7c096baf5ddaff84a8f8fdfb097dfc2.tar.gz
lufa-99abd1a8b7c096baf5ddaff84a8f8fdfb097dfc2.tar.bz2
lufa-99abd1a8b7c096baf5ddaff84a8f8fdfb097dfc2.zip
Added explicit attribute masks to the device mode demos' descriptors.
Diffstat (limited to 'Projects/Benito/Descriptors.c')
-rw-r--r--Projects/Benito/Descriptors.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Projects/Benito/Descriptors.c b/Projects/Benito/Descriptors.c
index b66c991b6..cab20326f 100644
--- a/Projects/Benito/Descriptors.c
+++ b/Projects/Benito/Descriptors.c
@@ -139,7 +139,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC_NOTIFICATION_EPNUM),
- .Attributes = EP_TYPE_INTERRUPT,
+ .Attributes = (EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
.EndpointSize = CDC_NOTIFICATION_EPSIZE,
.PollingIntervalMS = 0xFF
},
@@ -165,7 +165,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | CDC_RX_EPNUM),
- .Attributes = EP_TYPE_BULK,
+ .Attributes = (EP_TYPE_BULK | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
.EndpointSize = CDC_TXRX_EPSIZE,
.PollingIntervalMS = 0x00
},
@@ -175,7 +175,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC_TX_EPNUM),
- .Attributes = EP_TYPE_BULK,
+ .Attributes = (EP_TYPE_BULK | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA),
.EndpointSize = CDC_TXRX_EPSIZE,
.PollingIntervalMS = 0x00
}