summaryrefslogtreecommitdiff
path: root/src/class/msc
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-12-10 23:15:53 +0700
committerhathach <[email protected]>2018-12-10 23:15:53 +0700
commite863c99a6fd50aee7cea2bcf3b86ce0cda14cf95 (patch)
tree5a80cc1d833e7325e5eda59676091852de394277 /src/class/msc
parent212deaf2f8102208099279562b0c6ce04cb60515 (diff)
fix msc host
Diffstat (limited to 'src/class/msc')
-rw-r--r--src/class/msc/msc_host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/msc/msc_host.c b/src/class/msc/msc_host.c
index b61256805..72f4afa27 100644
--- a/src/class/msc/msc_host.c
+++ b/src/class/msc/msc_host.c
@@ -310,7 +310,7 @@ bool msch_open(uint8_t rhport, uint8_t dev_addr, tusb_desc_interface_t const *it
pipe_handle_t * p_pipe_hdl = ( ep_desc->bEndpointAddress & TUSB_DIR_IN_MASK ) ?
&p_msc->bulk_in : &p_msc->bulk_out;
- (*p_pipe_hdl) = hcd_pipe_open(dev_addr, ep_desc, TUSB_CLASS_MSC);
+ (*p_pipe_hdl) = hcd_pipe_open(rhport, dev_addr, ep_desc);
TU_ASSERT( pipehandle_is_valid(*p_pipe_hdl) );
if ( edpt_dir(ep_desc->bEndpointAddress) == TUSB_DIR_IN )