We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ec5174 commit f19d913Copy full SHA for f19d913
hw/bsp/imxrt/family.c
@@ -51,7 +51,10 @@ void board_init(void)
51
SysTick_Config(SystemCoreClock / 1000);
52
#elif CFG_TUSB_OS == OPT_OS_FREERTOS
53
// If freeRTOS is used, IRQ priority is limit by max syscall ( smaller is higher )
54
-// NVIC_SetPriority(USB0_IRQn, configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY );
+ NVIC_SetPriority(USB_OTG1_IRQn, configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY );
55
+#ifdef USB_OTG2_IRQn
56
+ NVIC_SetPriority(USB_OTG2_IRQn, configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY );
57
+#endif
58
#endif
59
60
// LED
0 commit comments