Skip to content

Commit

Permalink
Merge pull request #128 from bmourit/patch-5
Browse files Browse the repository at this point in the history
Fix a missed RTC_ALARM_IRQn -> RTC_Alarm_IRQn
  • Loading branch information
maxgerhardt authored May 22, 2024
2 parents fa0d82f + fc80d63 commit 8294e35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cores/arduino/gd32/rtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ void rtc_Init(void)
nvic_irq_enable(RTC_IRQn, 2, 0);
#endif
#if defined(GD32F30x) || defined(GD32E50X)
nvic_irq_enable(RTC_ALARM_IRQn, 2, 0);
nvic_irq_enable(RTC_Alarm_IRQn, 2, 0);
/* enable PMU and BKPI clocks */
rcu_periph_clock_enable(RCU_BKPI);
#endif
Expand Down

0 comments on commit 8294e35

Please sign in to comment.