aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32F1xx/hal_lld.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-05-18 15:29:20 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-05-18 15:29:20 +0000
commit01a811d27f05c73904200aaeaf618ed657b65283 (patch)
treeb323e7d1c278130c57ab26ff9cc3c708adefc751 /os/hal/platforms/STM32F1xx/hal_lld.c
parentc4a3d44d53f667cc73abf655542b2974a9b0bb93 (diff)
downloadChibiOS-01a811d27f05c73904200aaeaf618ed657b65283.tar.gz
ChibiOS-01a811d27f05c73904200aaeaf618ed657b65283.tar.bz2
ChibiOS-01a811d27f05c73904200aaeaf618ed657b65283.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4206 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32F1xx/hal_lld.c')
-rw-r--r--os/hal/platforms/STM32F1xx/hal_lld.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/os/hal/platforms/STM32F1xx/hal_lld.c b/os/hal/platforms/STM32F1xx/hal_lld.c
index 816e07b14..9fda0b3e7 100644
--- a/os/hal/platforms/STM32F1xx/hal_lld.c
+++ b/os/hal/platforms/STM32F1xx/hal_lld.c
@@ -94,7 +94,8 @@ static void hal_lld_backup_domain_init(void) {
void hal_lld_init(void) {
/* Reset of all peripherals.*/
- rccResetAPB(0xFFFFFFFF);
+ rccResetAPB1(0xFFFFFFFF);
+ rccResetAPB2(0xFFFFFFFF);
/* SysTick initialization using the system clock.*/
SysTick->LOAD = STM32_HCLK / CH_FREQUENCY - 1;