STM32 F4 RTC ALARM: Was not enabling interrupts.

This commit is contained in:
Gregory Nutt 2016-07-23 07:19:14 -06:00
parent e77872057d
commit 829c5610da

View File

@ -1026,6 +1026,10 @@ int up_rtc_initialize(void)
stm32_exti_alarm(true, false, true, stm32_rtc_alarm_handler);
rtc_dumpregs("After InitExtiAlarm");
/* Enable RTC Alarm interrupts */
up_enable_irq(STM32_IRQ_RTCALRM);
#else
rtc_dumpregs("After Initialization");
#endif