aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-11-02 13:05:39 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-11-02 13:05:39 +0000
commitb630753334a5f0c92f3806d2185f1bdc4357d8c2 (patch)
treebd32ce7dd7fa3993af9110a4fecc3982649b255f /os/hal
parentac7052679700ffae4b56159e301224c44c7b5cdd (diff)
downloadChibiOS-b630753334a5f0c92f3806d2185f1bdc4357d8c2.tar.gz
ChibiOS-b630753334a5f0c92f3806d2185f1bdc4357d8c2.tar.bz2
ChibiOS-b630753334a5f0c92f3806d2185f1bdc4357d8c2.zip
Fixed bug #435.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6409 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal')
-rw-r--r--os/hal/platforms/STM32L1xx/hal_lld.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/os/hal/platforms/STM32L1xx/hal_lld.c b/os/hal/platforms/STM32L1xx/hal_lld.c
index 529099e6a..5ed7d5476 100644
--- a/os/hal/platforms/STM32L1xx/hal_lld.c
+++ b/os/hal/platforms/STM32L1xx/hal_lld.c
@@ -154,7 +154,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. */