aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
Diffstat (limited to 'os')
-rw-r--r--os/hal/ports/STM32L1xx/hal_lld.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/os/hal/ports/STM32L1xx/hal_lld.c b/os/hal/ports/STM32L1xx/hal_lld.c
index 056a8fc88..ece540b89 100644
--- a/os/hal/ports/STM32L1xx/hal_lld.c
+++ b/os/hal/ports/STM32L1xx/hal_lld.c
@@ -142,7 +142,6 @@ void stm32_clock_init(void) {
Trim fields are not altered from reset values.*/
RCC->CFGR = 0;
RCC->ICSCR = (RCC->ICSCR & ~STM32_MSIRANGE_MASK) | STM32_MSIRANGE;
- RCC->CSR = RCC_CSR_RMVF;
RCC->CR = RCC_CR_MSION;
while ((RCC->CR & RCC_CR_MSIRDY) == 0)
; /* Waits until MSI is stable. */