mirror of
https://github.com/apache/nuttx.git
synced 2026-08-15 17:33:18 +00:00
Back out last RTC alarm changes. I am mistaken, the interrupts are enabled by stm32[l4]_exti_alarm().
This commit is contained in:
parent
65ac11692d
commit
0984fcda44
2 changed files with 0 additions and 8 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue