diff options
| author | hathach <[email protected]> | 2018-12-11 13:12:21 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-12-11 13:12:21 +0700 |
| commit | 0d04e6eb96935723f17969bf43a33532fcebcbf6 (patch) | |
| tree | 1176f84a968dddb1eb03e5f2f41acf405d9171a7 /src/class/custom | |
| parent | 7deac61d5f01e96df22e2d02a640c0f528d0109f (diff) | |
rename to hcd_edpt_open()
Diffstat (limited to 'src/class/custom')
| -rw-r--r-- | src/class/custom/custom_host.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/custom/custom_host.c b/src/class/custom/custom_host.c index 2a8206e36..e840a2829 100644 --- a/src/class/custom/custom_host.c +++ b/src/class/custom/custom_host.c @@ -121,7 +121,7 @@ tusb_error_t cush_open_subtask(uint8_t dev_addr, tusb_desc_interface_t const *p_ pipe_handle_t * p_pipe_hdl = ( p_endpoint->bEndpointAddress & TUSB_DIR_IN_MASK ) ? &custom_interface[dev_addr-1].pipe_in : &custom_interface[dev_addr-1].pipe_out; - *p_pipe_hdl = hcd_pipe_open(dev_addr, p_endpoint, TUSB_CLASS_VENDOR_SPECIFIC); + *p_pipe_hdl = hcd_edpt_open(dev_addr, p_endpoint, TUSB_CLASS_VENDOR_SPECIFIC); TU_ASSERT ( pipehandle_is_valid(*p_pipe_hdl), TUSB_ERROR_HCD_OPEN_PIPE_FAILED ); p_desc = descriptor_next(p_desc); |
