aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-11-02 13:06:06 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-11-02 13:06:06 +0000
commitc1100768bd11554ad98f1826d2b35eda26d27ecc (patch)
tree7c70dff62dec6fada283e2587839bc5bce690f83 /os
parent655de2175fbf21f9a256bb783b3aac1ad08b7339 (diff)
downloadChibiOS-c1100768bd11554ad98f1826d2b35eda26d27ecc.tar.gz
ChibiOS-c1100768bd11554ad98f1826d2b35eda26d27ecc.tar.bz2
ChibiOS-c1100768bd11554ad98f1826d2b35eda26d27ecc.zip
Fixed bug #435.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6410 35acf78f-673a-0410-8e92-d51de3d6d3f4
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. */