From 744250d0e2b9264d3b1bb6765e269d2e8c0be272 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Mon, 11 Nov 2013 12:14:43 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6440 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/STM32F0xx/hal_lld.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'os/hal/ports/STM32F0xx/hal_lld.c') diff --git a/os/hal/ports/STM32F0xx/hal_lld.c b/os/hal/ports/STM32F0xx/hal_lld.c index 09ab62923..9b6a85b91 100644 --- a/os/hal/ports/STM32F0xx/hal_lld.c +++ b/os/hal/ports/STM32F0xx/hal_lld.c @@ -61,10 +61,10 @@ static void hal_lld_backup_domain_init(void) { #if STM32_LSE_ENABLED #if defined(STM32_LSE_BYPASS) /* LSE Bypass.*/ - RCC->BDCR = STM32_LSEDRV | RCC_BDCR_LSEON | RCC_BDCR_LSEBYP; + RCC->BDCR |= STM32_LSEDRV | RCC_BDCR_LSEON | RCC_BDCR_LSEBYP; #else /* No LSE Bypass.*/ - RCC->BDCR = STM32_LSEDRV | RCC_BDCR_LSEON; + RCC->BDCR |= STM32_LSEDRV | RCC_BDCR_LSEON; #endif while ((RCC->BDCR & RCC_BDCR_LSERDY) == 0) ; /* Waits until LSE is stable. */ -- cgit v1.2.3