diff --git a/os/hal/ports/STM32/STM32WLxx/hal_lld.c b/os/hal/ports/STM32/STM32WLxx/hal_lld.c index e483929d1..3222029c5 100644 --- a/os/hal/ports/STM32/STM32WLxx/hal_lld.c +++ b/os/hal/ports/STM32/STM32WLxx/hal_lld.c @@ -194,7 +194,7 @@ void stm32_clock_init(void) { #endif /* STM32_HSESRC == STM32_HSE_TCXO */ /* Set HSE SYSCLK prescaler.*/ - RCC-CR |= STM32_HSEPRE; + RCC->CR |= STM32_HSEPRE; /* HSE activation.*/ RCC->CR |= RCC_CR_HSEON;