diff options
Diffstat (limited to 'src/stm32/stm32l4.c')
-rw-r--r-- | src/stm32/stm32l4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stm32/stm32l4.c b/src/stm32/stm32l4.c index 7db15fff..ae099d6b 100644 --- a/src/stm32/stm32l4.c +++ b/src/stm32/stm32l4.c @@ -96,7 +96,7 @@ enable_clock_stm32l4(void) RCC->CR |= RCC_CR_PLLON; // Enable 48Mhz USB clock using clock recovery - if (CONFIG_USBSERIAL) { + if (CONFIG_USB) { RCC->CRRCR |= RCC_CRRCR_HSI48ON; while (!(RCC->CRRCR & RCC_CRRCR_HSI48RDY)) ; |