summaryrefslogtreecommitdiff
path: root/src/portable/ehci
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-06-10 17:19:21 +0700
committerhathach <[email protected]>2021-06-10 17:19:21 +0700
commitc7f51cde40afbefe3f1d57b9dbdaaca0abed424e (patch)
tree9cbc2769d32f06c189740b65f18ce55536d1fb58 /src/portable/ehci
parent7e6cba7359dd362548026578dd48fe1f26312db3 (diff)
implement usbh_edpt_busy (WIP), remove hcd_edpt_busy
Diffstat (limited to 'src/portable/ehci')
-rw-r--r--src/portable/ehci/ehci.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/portable/ehci/ehci.c b/src/portable/ehci/ehci.c
index be3030676..48788ba06 100644
--- a/src/portable/ehci/ehci.c
+++ b/src/portable/ehci/ehci.c
@@ -440,12 +440,6 @@ bool hcd_edpt_xfer(uint8_t rhport, uint8_t dev_addr, uint8_t ep_addr, uint8_t *
return true;
}
-bool hcd_edpt_busy(uint8_t dev_addr, uint8_t ep_addr)
-{
- ehci_qhd_t *p_qhd = qhd_get_from_addr(dev_addr, ep_addr);
- return !p_qhd->qtd_overlay.halted && (p_qhd->p_qtd_list_head != NULL);
-}
-
bool hcd_edpt_clear_stall(uint8_t dev_addr, uint8_t ep_addr)
{
ehci_qhd_t *p_qhd = qhd_get_from_addr(dev_addr, ep_addr);