We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20c8e92 commit a97da37Copy full SHA for a97da37
src/portable/st/stm32_fsdev/fsdev_at32.h
@@ -175,9 +175,9 @@ void dcd_int_enable(uint8_t rhport) {
175
// shared USB/CAN IRQs to separate CAN and USB IRQs.
176
// This dynamically checks if this remap is active to enable the right IRQs.
177
if (CRM->intmap_bit.usbintmap) {
178
- NVIC_DisableIRQ(USBFS_MAPH_IRQn);
179
- NVIC_DisableIRQ(USBFS_MAPL_IRQn);
180
- NVIC_DisableIRQ(USBFSWakeUp_IRQn);
+ NVIC_EnableIRQ(USBFS_MAPH_IRQn);
+ NVIC_EnableIRQ(USBFS_MAPL_IRQn);
+ NVIC_EnableIRQ(USBFSWakeUp_IRQn);
181
} else
182
#endif
183
{
0 commit comments