summaryrefslogtreecommitdiff
path: root/tinyusb/host/ehci
diff options
context:
space:
mode:
authorhathach <[email protected]>2014-02-20 10:41:31 +0700
committerhathach <[email protected]>2014-02-20 10:41:31 +0700
commit533c8d2eed68fe76242fa5dcd2b1733d6278a4e8 (patch)
tree1e7340ffc17d5716cdf58abe7ebf567487a3e221 /tinyusb/host/ehci
parentd86523b16ce4e2512661477b85f8a7447ab91efa (diff)
use hcd_pipe_is_busy instead of hcd_pipe_is_idle
remove hcd_pipe_is_idle
Diffstat (limited to 'tinyusb/host/ehci')
-rw-r--r--tinyusb/host/ehci/ehci.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/tinyusb/host/ehci/ehci.c b/tinyusb/host/ehci/ehci.c
index ac0a060d8..830325274 100644
--- a/tinyusb/host/ehci/ehci.c
+++ b/tinyusb/host/ehci/ehci.c
@@ -493,12 +493,6 @@ bool hcd_pipe_is_error(pipe_handle_t pipe_hdl)
return p_qhd->qtd_overlay.halted;
}
-bool hcd_pipe_is_idle(pipe_handle_t pipe_hdl)
-{ // TODO to be remove
- ehci_qhd_t *p_qhd = qhd_get_from_pipe_handle( pipe_hdl );
- return (p_qhd->p_qtd_list_head == NULL);
-}
-
bool hcd_pipe_is_stalled(pipe_handle_t pipe_hdl)
{
ehci_qhd_t *p_qhd = qhd_get_from_pipe_handle( pipe_hdl );