projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ooops - TeensyHID bootloader makefile should use a 16MHz FCPU, not 8MHz.
[pub/USBasp.git]
/
Projects
/
Benito
/
Descriptors.c
diff --git
a/Projects/Benito/Descriptors.c
b/Projects/Benito/Descriptors.c
index
79261e7
..
9e08a41
100644
(file)
--- a/
Projects/Benito/Descriptors.c
+++ b/
Projects/Benito/Descriptors.c
@@
-54,14
+54,14
@@
USB_Descriptor_Device_t PROGMEM DeviceDescriptor =
.Endpoint0Size = FIXED_CONTROL_ENDPOINT_SIZE,
\r
\r
.VendorID = 0x03EB,
\r
.Endpoint0Size = FIXED_CONTROL_ENDPOINT_SIZE,
\r
\r
.VendorID = 0x03EB,
\r
- .ProductID = 0x20
4B
,
\r
- .ReleaseNumber = 0x000
1
,
\r
+ .ProductID = 0x20
60
,
\r
+ .ReleaseNumber = 0x000
0
,
\r
\r
.ManufacturerStrIndex = 0x01,
\r
.ProductStrIndex = 0x02,
\r
.SerialNumStrIndex = USE_INTERNAL_SERIAL,
\r
\r
\r
.ManufacturerStrIndex = 0x01,
\r
.ProductStrIndex = 0x02,
\r
.SerialNumStrIndex = USE_INTERNAL_SERIAL,
\r
\r
- .NumberOfConfigurations =
1
\r
+ .NumberOfConfigurations =
FIXED_NUM_CONFIGURATIONS
\r
};
\r
\r
/** Configuration descriptor structure. This descriptor, located in FLASH memory, describes the usage
\r
};
\r
\r
/** Configuration descriptor structure. This descriptor, located in FLASH memory, describes the usage
\r
@@
-139,7
+139,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC_NOTIFICATION_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC_NOTIFICATION_EPNUM),
\r
- .Attributes =
EP_TYPE_INTERRUPT
,
\r
+ .Attributes =
(EP_TYPE_INTERRUPT | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = CDC_NOTIFICATION_EPSIZE,
\r
.PollingIntervalMS = 0xFF
\r
},
\r
.EndpointSize = CDC_NOTIFICATION_EPSIZE,
\r
.PollingIntervalMS = 0xFF
\r
},
\r
@@
-165,7
+165,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | CDC_RX_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_OUT | CDC_RX_EPNUM),
\r
- .Attributes =
EP_TYPE_BULK
,
\r
+ .Attributes =
(EP_TYPE_BULK | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
},
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
},
\r
@@
-175,7
+175,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC_TX_EPNUM),
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
.EndpointAddress = (ENDPOINT_DESCRIPTOR_DIR_IN | CDC_TX_EPNUM),
\r
- .Attributes =
EP_TYPE_BULK
,
\r
+ .Attributes =
(EP_TYPE_BULK | ENDPOINT_ATTR_NO_SYNC | ENDPOINT_USAGE_DATA)
,
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
}
\r
.EndpointSize = CDC_TXRX_EPSIZE,
\r
.PollingIntervalMS = 0x00
\r
}
\r