diff options
Diffstat (limited to 'os/hal/ports/STM32/STM32F3xx/hal_lld.c')
-rw-r--r-- | os/hal/ports/STM32/STM32F3xx/hal_lld.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/os/hal/ports/STM32/STM32F3xx/hal_lld.c b/os/hal/ports/STM32/STM32F3xx/hal_lld.c index cfa538e2e..9c02300dc 100644 --- a/os/hal/ports/STM32/STM32F3xx/hal_lld.c +++ b/os/hal/ports/STM32/STM32F3xx/hal_lld.c @@ -122,8 +122,10 @@ void hal_lld_init(void) { among multiple drivers.*/
rccEnableAPB2(RCC_APB2ENR_SYSCFGEN, TRUE);
+#if STM32_HAS_USB
/* USB IRQ relocated to not conflict with CAN.*/
SYSCFG->CFGR1 |= SYSCFG_CFGR1_USB_IT_RMP;
+#endif
}
/**
|