summaryrefslogtreecommitdiff
path: root/tests/support
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 /tests/support
parent5f26c57b286ecdc555856c1e3e486923a43f4d04 (diff)
more shorten name
Diffstat (limited to 'tests/support')
-rw-r--r--tests/support/descriptor_test.c2
-rw-r--r--tests/support/descriptor_test.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/support/descriptor_test.c b/tests/support/descriptor_test.c
index da13265c8..d7e7d7521 100644
--- a/tests/support/descriptor_test.c
+++ b/tests/support/descriptor_test.c
@@ -287,7 +287,7 @@ const app_configuration_desc_t desc_configuration =
.cdc_acm =
{
- .bLength = sizeof(cdc_desc_func_abstract_control_management_t),
+ .bLength = sizeof(cdc_desc_func_acm_t),
.bDescriptorType = TUSB_DESC_TYPE_INTERFACE_CLASS_SPECIFIC,
.bDescriptorSubType = CDC_FUNC_DESC_ABSTRACT_CONTROL_MANAGEMENT,
.bmCapabilities = { // 0x06
diff --git a/tests/support/descriptor_test.h b/tests/support/descriptor_test.h
index fc85faf18..1e5801ce4 100644
--- a/tests/support/descriptor_test.h
+++ b/tests/support/descriptor_test.h
@@ -103,7 +103,7 @@ typedef struct
//CDC Control Interface
tusb_desc_interface_t cdc_comm_interface;
cdc_desc_func_header_t cdc_header;
- 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;