summaryrefslogtreecommitdiff
path: root/src/class/cdc
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-12-10 22:06:48 +0700
committerhathach <[email protected]>2018-12-10 22:11:02 +0700
commit9c3c782b64d196daf97d12732611fb5e16c80008 (patch)
tree6c68e6d5c29c78fce1c08b84e38667d2baef2bb9 /src/class/cdc
parentdffe9b335ee38a7720adff9a819f17b2899e38d1 (diff)
host msc built but got hardfault with inquiry command
Diffstat (limited to 'src/class/cdc')
-rw-r--r--src/class/cdc/cdc_host.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/cdc/cdc_host.h b/src/class/cdc/cdc_host.h
index 8d0b1d28d..192842dfa 100644
--- a/src/class/cdc/cdc_host.h
+++ b/src/class/cdc/cdc_host.h
@@ -127,7 +127,7 @@ void tuh_cdc_xfer_isr(uint8_t dev_addr, xfer_result_t event, cdc_pipeid_t pipe_i
#ifdef _TINY_USB_SOURCE_FILE_
void cdch_init(void);
-bool cdch_open(uint8_t rhport, uint8_t dev_addr, tusb_desc_interface_t const *p_interface_desc, uint16_t *p_length);
+bool cdch_open(uint8_t rhport, uint8_t dev_addr, tusb_desc_interface_t const *itf_desc, uint16_t *p_length);
void cdch_isr(uint8_t dev_addr, uint8_t ep_addr, xfer_result_t event, uint32_t xferred_bytes);
void cdch_close(uint8_t dev_addr);