fix timer prio for freertos to blink led

This commit is contained in:
hathach
2019-03-25 00:40:51 +07:00
parent 18f248b142
commit 315076375f
3 changed files with 5 additions and 1 deletions
+2
View File
@@ -91,6 +91,8 @@ void board_init(void)
SysTick_Config(SystemCoreClock/1000);
#endif
// Priorities 0, 1, 4 (nRF52) are reserved for SoftDevice
// 2 is highest for application
NVIC_SetPriority(USBD_IRQn, 2);
// USB power may already be ready at this time -> no event generated