add TU_ATTR_FAST_FUNC for rp2040 __not_in_flash() section

This commit is contained in:
hathach
2022-04-27 17:57:52 +07:00
parent fd827a80a9
commit 4a661dead0
4 changed files with 10 additions and 4 deletions

View File

@@ -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)
{