diff options
| author | hathach <[email protected]> | 2020-09-05 14:28:58 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2020-09-05 14:41:31 +0700 |
| commit | f7cf8cdf27a016093df65c0de7167685e407d014 (patch) | |
| tree | 1a4e6af229e66d9fa6f1b43f56e3f86d7210a0a2 /src/host/hub.c | |
| parent | 4d57b4ea336d0ba89b97b388aa02f15c2d947a2a (diff) | |
defer xfer_isr to xfer_cb
Diffstat (limited to 'src/host/hub.c')
| -rw-r--r-- | src/host/hub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host/hub.c b/src/host/hub.c index eb85dfa42..4fb28b72f 100644 --- a/src/host/hub.c +++ b/src/host/hub.c @@ -199,7 +199,7 @@ bool hub_open(uint8_t rhport, uint8_t dev_addr, tusb_desc_interface_t const *itf // is the response of interrupt endpoint polling #include "usbh_hcd.h" // FIXME remove -void hub_isr(uint8_t dev_addr, uint8_t ep_addr, xfer_result_t event, uint32_t xferred_bytes) +void hub_xfer_cb(uint8_t dev_addr, uint8_t ep_addr, xfer_result_t event, uint32_t xferred_bytes) { (void) xferred_bytes; // TODO can be more than 1 for hub with lots of ports (void) ep_addr; |
