summaryrefslogtreecommitdiff
path: root/tinyusb/class/cdc/cdc_device.c
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 /tinyusb/class/cdc/cdc_device.c
parent5f26c57b286ecdc555856c1e3e486923a43f4d04 (diff)
more shorten name
Diffstat (limited to 'tinyusb/class/cdc/cdc_device.c')
-rw-r--r--tinyusb/class/cdc/cdc_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/class/cdc/cdc_device.c b/tinyusb/class/cdc/cdc_device.c
index c1662eb4f..66e76ad77 100644
--- a/tinyusb/class/cdc/cdc_device.c
+++ b/tinyusb/class/cdc/cdc_device.c
@@ -150,7 +150,7 @@ tusb_error_t cdcd_open(uint8_t rhport, tusb_desc_interface_t const * p_interface
{ // Communication Functional Descriptors
if ( CDC_FUNC_DESC_ABSTRACT_CONTROL_MANAGEMENT == cdc_functional_desc_typeof(p_desc) )
{ // save ACM bmCapabilities
- p_cdc->acm_capability = ((cdc_desc_func_abstract_control_management_t const *) p_desc)->bmCapabilities;
+ p_cdc->acm_capability = ((cdc_desc_func_acm_t const *) p_desc)->bmCapabilities;
}
(*p_length) += p_desc[DESCRIPTOR_OFFSET_LENGTH];