git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3793 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
gdisirio 2012-01-11 21:26:10 +00:00
parent 8f9118ce03
commit 7fc77129b1
1 changed files with 3 additions and 0 deletions

View File

@ -72,6 +72,9 @@ static void hal_lld_backup_domain_init(void) {
RCC->BDCR |= RCC_BDCR_RTCEN;
}
#endif /* STM32_RTCSEL != STM32_RTCSEL_NOCLOCK */
/* Backup domain access disabled for operations safety.*/
PWR->CR &= ~PWR_CR_DBP;
}
/*===========================================================================*/