summaryrefslogtreecommitdiff
path: root/src/host/usbh.c
diff options
context:
space:
mode:
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 =