STM32 F4 RTC ALARM: Was not enabling interrupts.
This commit is contained in:
parent
e77872057d
commit
829c5610da
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user