summaryrefslogtreecommitdiff
path: root/src/host/hub.c
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-11-23 15:14:47 +0700
committerhathach <[email protected]>2018-11-23 15:14:47 +0700
commitcb8782e5f28b4897e73520c91296d1ac7d71da81 (patch)
treed8d7554f4ba2c1020eb28e961e11539632d192da /src/host/hub.c
parente61e9d8b1b9f8e551b4560c61f707bbaeac1fc9a (diff)
rename tusb_event_t to xfer_result_t
Diffstat (limited to 'src/host/hub.c')
-rw-r--r--src/host/hub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host/hub.c b/src/host/hub.c
index e4c08c9d1..9635bcc0b 100644
--- a/src/host/hub.c
+++ b/src/host/hub.c
@@ -209,7 +209,7 @@ tusb_error_t hub_open_subtask(uint8_t dev_addr, tusb_desc_interface_t const *p_i
}
// is the response of interrupt endpoint polling
-void hub_isr(pipe_handle_t pipe_hdl, tusb_event_t event, uint32_t xferred_bytes)
+void hub_isr(pipe_handle_t pipe_hdl, xfer_result_t event, uint32_t xferred_bytes)
{
(void) xferred_bytes; // TODO can be more than 1 for hub with lots of ports