diff options
| author | hathach <[email protected]> | 2018-12-11 23:57:53 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-12-12 00:00:33 +0700 |
| commit | 67d6d753d66ffb821e9cfc4831d44f6b2f8549b8 (patch) | |
| tree | 0e2a659601fd86f8079f25b1326408307638006a /src/host/hub.c | |
| parent | c94df5150308e451baccae2857525d50fe1df232 (diff) | |
replace all hcd pipe close by hcd_device_remove
Diffstat (limited to 'src/host/hub.c')
| -rw-r--r-- | src/host/hub.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/host/hub.c b/src/host/hub.c index 411e1ae95..e2e91d73d 100644 --- a/src/host/hub.c +++ b/src/host/hub.c @@ -251,9 +251,7 @@ void hub_isr(uint8_t dev_addr, uint8_t ep_addr, xfer_result_t event, uint32_t xf void hub_close(uint8_t dev_addr)
{
- hcd_pipe_close(TUH_OPT_RHPORT, dev_addr, hub_data[dev_addr-1].ep_status);
tu_memclr(&hub_data[dev_addr-1], sizeof(usbh_hub_t));
-
// osal_semaphore_reset(hub_enum_sem_hdl);
}
|
