shorten descriptor type

This commit is contained in:
hathach
2018-03-23 12:32:40 +07:00
parent 2c18805aa9
commit 5f26c57b28
56 changed files with 281 additions and 281 deletions
+2 -2
View File
@@ -118,9 +118,9 @@ void test_dcd_init(void)
void test_dcd_configure_endpoint_in(void)
{
tusb_descriptor_endpoint_t const desc_endpoint =
tusb_desc_endpoint_t const desc_endpoint =
{
.bLength = sizeof(tusb_descriptor_endpoint_t),
.bLength = sizeof(tusb_desc_endpoint_t),
.bDescriptorType = TUSB_DESC_TYPE_ENDPOINT,
.bEndpointAddress = 0x83,
.bmAttributes = { .xfer = TUSB_XFER_INTERRUPT },