aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32F1xx/hal_lld.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-01-20 11:18:01 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-01-20 11:18:01 +0000
commitae601b1e4e1e75bb61e6b2155b81fa3986d0e9fc (patch)
tree8eef39e6950b3fc4ec7e2e72701a4caff9763bec /os/hal/platforms/STM32F1xx/hal_lld.c
parent45efc9bae6aa43fe150c571ec3ce2f0252de9b13 (diff)
downloadChibiOS-ae601b1e4e1e75bb61e6b2155b81fa3986d0e9fc.tar.gz
ChibiOS-ae601b1e4e1e75bb61e6b2155b81fa3986d0e9fc.tar.bz2
ChibiOS-ae601b1e4e1e75bb61e6b2155b81fa3986d0e9fc.zip
Fixed bug 3475188 and other minor problems.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3829 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32F1xx/hal_lld.c')
-rw-r--r--os/hal/platforms/STM32F1xx/hal_lld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/platforms/STM32F1xx/hal_lld.c b/os/hal/platforms/STM32F1xx/hal_lld.c
index d6de13b5c..6731fe1cc 100644
--- a/os/hal/platforms/STM32F1xx/hal_lld.c
+++ b/os/hal/platforms/STM32F1xx/hal_lld.c
@@ -52,7 +52,7 @@ static void hal_lld_backup_domain_init(void) {
PWR->CR |= PWR_CR_DBP;
/* Reset BKP domain if different clock source selected.*/
- if ((RCC->BDCR & STM32_RTCSEL_MSK) != STM32_RTCSEL){
+ if ((RCC->BDCR & STM32_RTCSEL_MASK) != STM32_RTCSEL){
/* Backup domain reset.*/
RCC->BDCR = RCC_BDCR_BDRST;
RCC->BDCR = 0;