summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-04-27 17:57:52 +0700
committerhathach <[email protected]>2022-04-27 17:57:52 +0700
commit4a661dead0899cb154325a8257d19281f2536af3 (patch)
tree48850cad386aeba513798ca4907a132ca4bf7ade /src/device
parentfd827a80a9f3b1e482cc8b1609c055cbad252b37 (diff)
add TU_ATTR_FAST_FUNC for rp2040 __not_in_flash() section
Diffstat (limited to 'src/device')
-rw-r--r--src/device/usbd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/device/usbd.c b/src/device/usbd.c
index 12b4071af..4c2cd3abd 100644
--- a/src/device/usbd.c
+++ b/src/device/usbd.c
@@ -1071,7 +1071,8 @@ static bool process_get_descriptor(uint8_t rhport, tusb_control_request_t const
//--------------------------------------------------------------------+
// DCD Event Handler
//--------------------------------------------------------------------+
-void __no_inline_not_in_flash_func(dcd_event_handler)(dcd_event_t const * event, bool in_isr)
+TU_ATTR_FAST_FUNC
+void dcd_event_handler(dcd_event_t const * event, bool in_isr)
{
switch (event->event_id)
{