aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/STM32F1xx/hal_lld.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/ports/STM32/STM32F1xx/hal_lld.c')
-rw-r--r--os/hal/ports/STM32/STM32F1xx/hal_lld.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/ports/STM32/STM32F1xx/hal_lld.c b/os/hal/ports/STM32/STM32F1xx/hal_lld.c
index 711335004..80fac7bbb 100644
--- a/os/hal/ports/STM32/STM32F1xx/hal_lld.c
+++ b/os/hal/ports/STM32/STM32F1xx/hal_lld.c
@@ -136,8 +136,8 @@ void hal_lld_init(void) {
rccResetAPB2(0xFFFFFFFF);
/* PWR and BD clocks enabled.*/
- rccEnablePWRInterface(FALSE);
- rccEnableBKPInterface(FALSE);
+ rccEnablePWRInterface(true);
+ rccEnableBKPInterface(true);
/* Initializes the backup domain.*/
hal_lld_backup_domain_init();