diff options
| author | hathach <[email protected]> | 2018-12-10 05:40:02 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-12-10 05:44:08 +0700 |
| commit | a31f83dbb0d123d15dcc393dd9d926a4cc7352b6 (patch) | |
| tree | 6319734b0e9096b41be6776bc1a240ab645d1431 /src/host/ehci | |
| parent | 75baedf27d09e57deb9d88cc7c82d95b0d530bca (diff) | |
removing pipe handle
Diffstat (limited to 'src/host/ehci')
| -rw-r--r-- | src/host/ehci/ehci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/host/ehci/ehci.c b/src/host/ehci/ehci.c index 2186bfcdf..445210c8b 100644 --- a/src/host/ehci/ehci.c +++ b/src/host/ehci/ehci.c @@ -647,7 +647,7 @@ static void qhd_xfer_complete_isr(ehci_qhd_t * p_qhd) {
// end of request
// call USBH callback
- usbh_xfer_isr( qhd_create_pipe_handle(p_qhd), XFER_RESULT_SUCCESS, p_qhd->total_xferred_bytes);
+ usbh_xfer_isr(p_qhd->device_address, edpt_addr(p_qhd->endpoint_number, p_qhd->pid_non_control == EHCI_PID_IN ? 1 : 0), XFER_RESULT_SUCCESS, p_qhd->total_xferred_bytes);
p_qhd->total_xferred_bytes = 0;
}
@@ -741,7 +741,7 @@ static void qhd_xfer_error_isr(ehci_qhd_t * p_qhd) }
// call USBH callback
- usbh_xfer_isr( qhd_create_pipe_handle(p_qhd), error_event, p_qhd->total_xferred_bytes);
+ usbh_xfer_isr(p_qhd->device_address, edpt_addr(p_qhd->endpoint_number, p_qhd->pid_non_control == EHCI_PID_IN ? 1 : 0), error_event, p_qhd->total_xferred_bytes);
p_qhd->total_xferred_bytes = 0;
}
|
