Skip to content

Commit

Permalink
fixup! drivers/usbdev_synopsys_dwc2: add thread context switch at ISR…
Browse files Browse the repository at this point in the history
… exit
  • Loading branch information
gschorcht committed Mar 20, 2023
1 parent abfd85a commit 670951a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/usbdev_synopsys_dwc2/usbdev_synopsys_dwc2.c
Original file line number Diff line number Diff line change
Expand Up @@ -1618,9 +1618,9 @@ void _isr_common(dwc2_usb_otg_fshs_t *usbdev)
}
}

if (sched_context_switch_request) {
thread_yield_higher();
}
#ifdef MODULE_CORTEXM_COMMON
cortexm_isr_end();
#endif
}

#if defined(MCU_STM32)
Expand Down

0 comments on commit 670951a

Please sign in to comment.