summaryrefslogtreecommitdiff
path: root/src/host/usbh.c
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-12-08 20:56:56 +0700
committerhathach <[email protected]>2018-12-08 20:56:56 +0700
commitf6f0910778be2be2cfa25ef4e00ec2cf40c05fe9 (patch)
tree00cfcfc7e26af920081f673c4b9a39744e6bbfa1 /src/host/usbh.c
parentd3ac4c14a3204c585bdeba8e8f27c8257d1ac826 (diff)
hub clean up
Diffstat (limited to 'src/host/usbh.c')
-rw-r--r--src/host/usbh.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/host/usbh.c b/src/host/usbh.c
index c83424c9f..764203dbf 100644
--- a/src/host/usbh.c
+++ b/src/host/usbh.c
@@ -291,20 +291,6 @@ void usbh_xfer_isr(pipe_handle_t pipe_hdl, uint8_t class_code, xfer_result_t eve
}
}
-void usbh_hub_port_plugged_isr(uint8_t hub_addr, uint8_t hub_port)
-{
- hcd_event_t event =
- {
- .rhport = _usbh_devices[hub_addr].core_id,
- .event_id = HCD_EVENT_DEVICE_ATTACH
- };
-
- event.attach.hub_addr = hub_addr;
- event.attach.hub_port = hub_port;
-
- hcd_event_handler(&event, true);
-}
-
void hcd_event_device_attach(uint8_t rhport)
{
hcd_event_t event =