summaryrefslogtreecommitdiff
path: root/tests/support
diff options
context:
space:
mode:
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;