From 4871abd9cefbeb7e03f16f6108be860cd1b10578 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 21 Jul 2013 12:54:55 +0000 Subject: 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 --- os/hal/platforms/STM32F4xx/hal_lld.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'os/hal') 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.*/ -- cgit v1.2.3