This commit is contained in:
hathach committed 2019-03-29 10:53:43 +07:00
1 parent 3f5fcf70a2
commit 8d3c40c81d
1 file changed
+2
+2
View File
@@ -63,6 +63,8 @@ void usb_init(void)
nrfx_power_usbevt_enable();
// 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