From 6087f6342b25e5b51c4a43ec7ba21c0d319c61f6 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Thu, 7 May 2015 12:24:39 +0000 Subject: Fixed bug #590. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7953 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/STM32/LLD/RTCv2/rtc_lld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'os/hal/ports') diff --git a/os/hal/ports/STM32/LLD/RTCv2/rtc_lld.c b/os/hal/ports/STM32/LLD/RTCv2/rtc_lld.c index 8e0cde83c..940abef7e 100644 --- a/os/hal/ports/STM32/LLD/RTCv2/rtc_lld.c +++ b/os/hal/ports/STM32/LLD/RTCv2/rtc_lld.c @@ -310,7 +310,7 @@ void rtc_lld_init(void) { rtc_enter_init(); RTCD1.rtc->CR = 0; - RTCD1.rtc->ISR = 0; + RTCD1.rtc->ISR = RTC_ISR_INIT; /* Clearing all but RTC_ISR_INIT. */ RTCD1.rtc->PRER = STM32_RTC_PRER_BITS; RTCD1.rtc->PRER = STM32_RTC_PRER_BITS; -- cgit v1.2.3