From a2bcf1c084d89c52f9c1fb459199ee1a61d61717 Mon Sep 17 00:00:00 2001 From: Alexandre Bourdiol Date: Wed, 12 Jan 2022 15:36:46 +0100 Subject: [PATCH] feat(C0): Add RTC C0 support Signed-off-by: Alexandre Bourdiol --- src/rtc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rtc.h b/src/rtc.h index d647b94..c8d035f 100644 --- a/src/rtc.h +++ b/src/rtc.h @@ -115,7 +115,7 @@ typedef void(*voidCallbackPtr)(void *); #define PREDIVA_MAX 0xFFFFFU #endif /* !STM32F1xx */ -#if defined(STM32F0xx) || defined(STM32L0xx) || \ +#if defined(STM32C0xx) || defined(STM32F0xx) || defined(STM32L0xx) || \ defined(STM32L5xx) || defined(STM32U5xx) #define RTC_Alarm_IRQn RTC_IRQn #define RTC_Alarm_IRQHandler RTC_IRQHandler