mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 09:18:00 +08:00
Back out last RTC alarm changes. I am mistaken, the interrupts are enabled by stm32[l4]_exti_alarm().
This commit is contained in:
@@ -1026,10 +1026,6 @@ 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
|
||||
|
||||
@@ -963,10 +963,6 @@ int up_rtc_initialize(void)
|
||||
*/
|
||||
|
||||
stm32l4_exti_alarm(true, false, true, stm32l4_rtc_alarm_handler);
|
||||
|
||||
/* Enable RTC Alarm interrupts */
|
||||
|
||||
up_enable_irq(STM32L4_IRQ_RTCALRM);
|
||||
#endif
|
||||
|
||||
g_rtc_enabled = true;
|
||||
|
||||
Reference in New Issue
Block a user