From fc80d63dfd149cd5c84705e0c0f3cbbb49d9587a Mon Sep 17 00:00:00 2001 From: Boyd Date: Tue, 21 May 2024 18:03:06 -0700 Subject: [PATCH] Fix a missed RTC_ALARM_IRQn -> RTC_Alarm_IRQn --- cores/arduino/gd32/rtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cores/arduino/gd32/rtc.c b/cores/arduino/gd32/rtc.c index 02a49f31..d771911b 100644 --- a/cores/arduino/gd32/rtc.c +++ b/cores/arduino/gd32/rtc.c @@ -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