git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7602 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
d95648897c
commit
6f1b66f2f8
|
@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue