We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb24140 commit 356addcCopy full SHA for 356addc
1 file changed
libraries/SrcWrapper/src/stm32/timer.c
@@ -629,7 +629,9 @@ uint8_t getTimerClkSrc(TIM_TypeDef *tim)
629
uint8_t clkSrc = 0;
630
631
if (tim != (TIM_TypeDef *)NC)
632
-#if defined(STM32C0xx) || defined(STM32F0xx) || defined(STM32G0xx)
+#if defined(STM32C0xx) || defined(STM32F0xx) || defined(STM32G0xx) ||\
633
+ defined(STM32U0xx)
634
+
635
/* TIMx source CLK is PCKL1 */
636
clkSrc = 1;
637
#else
0 commit comments