aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-07-21 12:54:55 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-07-21 12:54:55 +0000
commit4871abd9cefbeb7e03f16f6108be860cd1b10578 (patch)
treea8c121719ac8aae78ea1233ecf24f6e7d3ffc3aa
parent4301222a4441bada2803fcf7498f4c7fbd7c1d95 (diff)
downloadChibiOS-4871abd9cefbeb7e03f16f6108be860cd1b10578.tar.gz
ChibiOS-4871abd9cefbeb7e03f16f6108be860cd1b10578.tar.bz2
ChibiOS-4871abd9cefbeb7e03f16f6108be860cd1b10578.zip
Why LSE was started in two different places?
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6017 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--os/hal/platforms/STM32F4xx/hal_lld.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/os/hal/platforms/STM32F4xx/hal_lld.c b/os/hal/platforms/STM32F4xx/hal_lld.c
index d99661799..194752673 100644
--- a/os/hal/platforms/STM32F4xx/hal_lld.c
+++ b/os/hal/platforms/STM32F4xx/hal_lld.c
@@ -61,13 +61,6 @@ static void hal_lld_backup_domain_init(void) {
RCC->BDCR = 0;
}
- /* If enabled then the LSE is started.*/
-#if STM32_LSE_ENABLED
- RCC->BDCR |= RCC_BDCR_LSEON;
- while ((RCC->BDCR & RCC_BDCR_LSERDY) == 0)
- ; /* Waits until LSE is stable. */
-#endif
-
#if STM32_RTCSEL != STM32_RTCSEL_NOCLOCK
/* If the backup domain hasn't been initialized yet then proceed with
initialization.*/