aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os/hal/ports/STM32/LLD/RTCv2/rtc_lld.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/os/hal/ports/STM32/LLD/RTCv2/rtc_lld.c b/os/hal/ports/STM32/LLD/RTCv2/rtc_lld.c
index 1145268d0..fc098ffbf 100644
--- a/os/hal/ports/STM32/LLD/RTCv2/rtc_lld.c
+++ b/os/hal/ports/STM32/LLD/RTCv2/rtc_lld.c
@@ -303,8 +303,6 @@ void rtc_lld_init(void) {
RTCD1.rtc->WPR = 0xCA;
RTCD1.rtc->WPR = 0x53;
- rtc_enter_init();
-
/* If calendar has not been initialized yet then proceed with the
initial setup.*/
if (!(RTCD1.rtc->ISR & RTC_ISR_INITS)) {
@@ -320,8 +318,6 @@ void rtc_lld_init(void) {
}
else
RTCD1.rtc->ISR &= ~RTC_ISR_RSF;
-
- rtc_exit_init();
}
/**