diff options
| author | hathach <[email protected]> | 2021-06-10 17:19:21 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-06-10 17:19:21 +0700 |
| commit | c7f51cde40afbefe3f1d57b9dbdaaca0abed424e (patch) | |
| tree | 9cbc2769d32f06c189740b65f18ce55536d1fb58 /src/portable/ohci | |
| parent | 7e6cba7359dd362548026578dd48fe1f26312db3 (diff) | |
implement usbh_edpt_busy (WIP), remove hcd_edpt_busy
Diffstat (limited to 'src/portable/ohci')
| -rw-r--r-- | src/portable/ohci/ohci.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/portable/ohci/ohci.c b/src/portable/ohci/ohci.c index cbb72c726..73489c764 100644 --- a/src/portable/ohci/ohci.c +++ b/src/portable/ohci/ohci.c @@ -489,12 +489,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) -{ - ohci_ed_t const * const p_ed = ed_from_addr(dev_addr, ep_addr); - return tu_align16(p_ed->td_head.address) != tu_align16(p_ed->td_tail); -} - bool hcd_edpt_clear_stall(uint8_t dev_addr, uint8_t ep_addr) { ohci_ed_t * const p_ed = ed_from_addr(dev_addr, ep_addr); |
