summaryrefslogtreecommitdiff
path: root/src/host
diff options
context:
space:
mode:
Diffstat (limited to 'src/host')
-rw-r--r--src/host/usbh.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/host/usbh.c b/src/host/usbh.c
index d8fff9905..2fdc8216d 100644
--- a/src/host/usbh.c
+++ b/src/host/usbh.c
@@ -780,6 +780,7 @@ void usbh_defer_func(osal_task_func_t func, void *param, bool in_isr) {
event.func_call.param = param;
osal_queue_send(_usbh_q, &event, in_isr);
+ CFG_TUH_EVENT_HOOK(event, in_isr);
}
//--------------------------------------------------------------------+
@@ -936,6 +937,7 @@ TU_ATTR_FAST_FUNC void hcd_event_handler(hcd_event_t const* event, bool in_isr)
}
osal_queue_send(_usbh_q, event, in_isr);
+ CFG_TUH_EVENT_HOOK(event, in_isr);
}
//--------------------------------------------------------------------+