Skip to content

Commit 56df9ea

Browse files
ABOSTMfpistm
authored andcommitted
core(C0): TIM1_IRQn definition
Signed-off-by: Alexandre Bourdiol <[email protected]>
1 parent f36364e commit 56df9ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/arduino/stm32/timer.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ extern "C" {
3737
#endif
3838

3939
#if defined(TIM1_BASE) && !defined(TIM1_IRQn)
40-
#if defined(STM32F0xx) || defined(STM32G0xx)
40+
#if defined(STM32C0xx) || defined(STM32F0xx) || defined(STM32G0xx)
4141
#define TIM1_IRQn TIM1_BRK_UP_TRG_COM_IRQn
4242
#define TIM1_IRQHandler TIM1_BRK_UP_TRG_COM_IRQHandler
4343
#elif defined(STM32F1xx) ||defined(STM32G4xx)

0 commit comments

Comments
 (0)