summaryrefslogtreecommitdiff
path: root/examples/obsolete/device/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-03-23 12:42:30 +0700
committerhathach <[email protected]>2018-03-23 12:42:30 +0700
commit3e5e1f70bfc320b1940a2ab0771b1dd23e6744f3 (patch)
tree52c0db749eec3a85542ddcd4513b98cec352d533 /examples/obsolete/device/src
parent5f26c57b286ecdc555856c1e3e486923a43f4d04 (diff)
more shorten name
Diffstat (limited to 'examples/obsolete/device/src')
-rw-r--r--examples/obsolete/device/src/tusb_descriptors.c2
-rw-r--r--examples/obsolete/device/src/tusb_descriptors.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/obsolete/device/src/tusb_descriptors.c b/examples/obsolete/device/src/tusb_descriptors.c
index 25e32cd08..671e63641 100644
--- a/examples/obsolete/device/src/tusb_descriptors.c
+++ b/examples/obsolete/device/src/tusb_descriptors.c
@@ -233,7 +233,7 @@ app_descriptor_configuration_t const desc_configuration =
.cdc_acm =
{
- .bLength = sizeof(cdc_desc_func_abstract_control_management_t),
+ .bLength = sizeof(cdc_desc_func_acm_t),
.bDescriptorType = TUSB_DESC_CLASS_SPECIFIC,
.bDescriptorSubType = CDC_FUNC_DESC_ABSTRACT_CONTROL_MANAGEMENT,
.bmCapabilities = { // 0x02
diff --git a/examples/obsolete/device/src/tusb_descriptors.h b/examples/obsolete/device/src/tusb_descriptors.h
index 8bcec74dd..a366a3bc1 100644
--- a/examples/obsolete/device/src/tusb_descriptors.h
+++ b/examples/obsolete/device/src/tusb_descriptors.h
@@ -142,7 +142,7 @@ typedef struct ATTR_PACKED
tusb_desc_interface_t cdc_comm_interface;
cdc_desc_func_header_t cdc_header;
cdc_desc_func_call_management_t cdc_call;
- cdc_desc_func_abstract_control_management_t cdc_acm;
+ cdc_desc_func_acm_t cdc_acm;
cdc_desc_func_union_t cdc_union;
tusb_desc_endpoint_t cdc_endpoint_notification;