summaryrefslogtreecommitdiff
path: root/src/class/hid/hid_host.c
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-09-05 14:28:58 +0700
committerhathach <[email protected]>2020-09-05 14:41:31 +0700
commitf7cf8cdf27a016093df65c0de7167685e407d014 (patch)
tree1a4e6af229e66d9fa6f1b43f56e3f86d7210a0a2 /src/class/hid/hid_host.c
parent4d57b4ea336d0ba89b97b388aa02f15c2d947a2a (diff)
defer xfer_isr to xfer_cb
Diffstat (limited to 'src/class/hid/hid_host.c')
-rw-r--r--src/class/hid/hid_host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/hid/hid_host.c b/src/class/hid/hid_host.c
index 378278cc3..e17bfc9e5 100644
--- a/src/class/hid/hid_host.c
+++ b/src/class/hid/hid_host.c
@@ -232,7 +232,7 @@ bool hidh_open_subtask(uint8_t rhport, uint8_t dev_addr, tusb_desc_interface_t c
return true;
}
-void hidh_isr(uint8_t dev_addr, uint8_t ep_addr, xfer_result_t event, uint32_t xferred_bytes)
+void hidh_xfer_cb(uint8_t dev_addr, uint8_t ep_addr, xfer_result_t event, uint32_t xferred_bytes)
{
(void) xferred_bytes; // TODO may need to use this para later