Skip to content

Commit 1650f3a

Browse files
ABOSTMfpistm
authored andcommitted
libraries(C0): Timer is on PCLK1
Signed-off-by: Alexandre Bourdiol <[email protected]>
1 parent d99cb56 commit 1650f3a

File tree

1 file changed

+1
-1
lines changed
  • libraries/SrcWrapper/src/stm32

1 file changed

+1
-1
lines changed

libraries/SrcWrapper/src/stm32/timer.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ uint8_t getTimerClkSrc(TIM_TypeDef *tim)
629629
uint8_t clkSrc = 0;
630630

631631
if (tim != (TIM_TypeDef *)NC)
632-
#if defined(STM32F0xx) || defined(STM32G0xx)
632+
#if defined(STM32C0xx) || defined(STM32F0xx) || defined(STM32G0xx)
633633
/* TIMx source CLK is PCKL1 */
634634
clkSrc = 1;
635635
#else

0 commit comments

Comments
 (0)