aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32F1xx
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-01-14 13:30:33 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-01-14 13:30:33 +0000
commit17f9264b099705e80822be875a0dbc0658ad05fd (patch)
tree0a93bce79a095f989a8c86074ebbf084667e2de9 /os/hal/platforms/STM32F1xx
parenta41f12ad8a925c8baaaeb826e63589721f942f4a (diff)
downloadChibiOS-17f9264b099705e80822be875a0dbc0658ad05fd.tar.gz
ChibiOS-17f9264b099705e80822be875a0dbc0658ad05fd.tar.bz2
ChibiOS-17f9264b099705e80822be875a0dbc0658ad05fd.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3810 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32F1xx')
-rw-r--r--os/hal/platforms/STM32F1xx/hal_lld.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/os/hal/platforms/STM32F1xx/hal_lld.c b/os/hal/platforms/STM32F1xx/hal_lld.c
index 75afa0a84..d6de13b5c 100644
--- a/os/hal/platforms/STM32F1xx/hal_lld.c
+++ b/os/hal/platforms/STM32F1xx/hal_lld.c
@@ -53,6 +53,7 @@ static void hal_lld_backup_domain_init(void) {
/* Reset BKP domain if different clock source selected.*/
if ((RCC->BDCR & STM32_RTCSEL_MSK) != STM32_RTCSEL){
+ /* Backup domain reset.*/
RCC->BDCR = RCC_BDCR_BDRST;
RCC->BDCR = 0;
}