diff options
| author | hathach <[email protected]> | 2018-03-23 12:42:30 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-03-23 12:42:30 +0700 |
| commit | 3e5e1f70bfc320b1940a2ab0771b1dd23e6744f3 (patch) | |
| tree | 52c0db749eec3a85542ddcd4513b98cec352d533 /tests | |
| parent | 5f26c57b286ecdc555856c1e3e486923a43f4d04 (diff) | |
more shorten name
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/lpc18xx_43xx/test/host/cdc/descriptor_cdc.c | 4 | ||||
| -rw-r--r-- | tests/lpc18xx_43xx/test/host/cdc/descriptor_cdc.h | 2 | ||||
| -rw-r--r-- | tests/lpc18xx_43xx/test/host/cdc/test_cdc_host.c | 2 | ||||
| -rw-r--r-- | tests/lpc18xx_43xx/test/host/usbh/test_enum_task.c | 2 | ||||
| -rw-r--r-- | tests/support/descriptor_test.c | 2 | ||||
| -rw-r--r-- | tests/support/descriptor_test.h | 2 |
6 files changed, 7 insertions, 7 deletions
diff --git a/tests/lpc18xx_43xx/test/host/cdc/descriptor_cdc.c b/tests/lpc18xx_43xx/test/host/cdc/descriptor_cdc.c index 97747ff4c..6776070df 100644 --- a/tests/lpc18xx_43xx/test/host/cdc/descriptor_cdc.c +++ b/tests/lpc18xx_43xx/test/host/cdc/descriptor_cdc.c @@ -101,7 +101,7 @@ const cdc_configuration_desc_t cdc_config_descriptor = .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 @@ -227,7 +227,7 @@ const cdc_configuration_desc_t rndis_config_descriptor = .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 = { 0 } diff --git a/tests/lpc18xx_43xx/test/host/cdc/descriptor_cdc.h b/tests/lpc18xx_43xx/test/host/cdc/descriptor_cdc.h index 17e6189a5..761040624 100644 --- a/tests/lpc18xx_43xx/test/host/cdc/descriptor_cdc.h +++ b/tests/lpc18xx_43xx/test/host/cdc/descriptor_cdc.h @@ -62,7 +62,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; diff --git a/tests/lpc18xx_43xx/test/host/cdc/test_cdc_host.c b/tests/lpc18xx_43xx/test/host/cdc/test_cdc_host.c index ddb60f5df..aa062747c 100644 --- a/tests/lpc18xx_43xx/test/host/cdc/test_cdc_host.c +++ b/tests/lpc18xx_43xx/test/host/cdc/test_cdc_host.c @@ -125,7 +125,7 @@ void test_cdch_open_length_check(void) const uint16_t expected_length = //------------- Comm Interface -------------// sizeof(tusb_desc_interface_t) + sizeof(cdc_desc_func_header_t) + - sizeof(cdc_desc_func_abstract_control_management_t) + sizeof(cdc_desc_func_union_t) + + sizeof(cdc_desc_func_acm_t) + sizeof(cdc_desc_func_union_t) + sizeof(tusb_desc_endpoint_t) + //------------- Data Interface -------------// sizeof(tusb_desc_interface_t) + 2*sizeof(tusb_desc_endpoint_t); diff --git a/tests/lpc18xx_43xx/test/host/usbh/test_enum_task.c b/tests/lpc18xx_43xx/test/host/usbh/test_enum_task.c index 44db2a31d..438af6896 100644 --- a/tests/lpc18xx_43xx/test/host/usbh/test_enum_task.c +++ b/tests/lpc18xx_43xx/test/host/usbh/test_enum_task.c @@ -203,7 +203,7 @@ tusb_error_t stub_cdch_open(uint8_t dev_addr, tusb_desc_interface_t const *descr *p_length = //------------- Comm Interface -------------// sizeof(tusb_desc_interface_t) + sizeof(cdc_desc_func_header_t) + - sizeof(cdc_desc_func_abstract_control_management_t) + sizeof(cdc_desc_func_union_t) + + sizeof(cdc_desc_func_acm_t) + sizeof(cdc_desc_func_union_t) + sizeof(tusb_desc_endpoint_t) + //------------- Data Interface -------------// sizeof(tusb_desc_interface_t) + 2*sizeof(tusb_desc_endpoint_t); 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; |
