mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-25 14:54:16 +01:00
usb interrupt fix
This commit is contained in:
parent
2ca27b0a27
commit
4afe0e7c92
@ -217,7 +217,7 @@ void USB_OTG_BSP_EnableInterrupt(USB_OTG_CORE_HANDLE *pdev)
|
||||
bool valid = PIOS_USB_validate(usb_dev);
|
||||
PIOS_Assert(valid);
|
||||
|
||||
NVIC_PriorityGroupConfig(NVIC_PriorityGroup_1);
|
||||
NVIC_PriorityGroupConfig(NVIC_PriorityGroup_4);
|
||||
|
||||
NVIC_Init(&usb_dev->cfg->irq.init);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user