aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os/hal/ports/STM32/LLD/TIMv1/stm32_tim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/ports/STM32/LLD/TIMv1/stm32_tim.c b/os/hal/ports/STM32/LLD/TIMv1/stm32_tim.c
index 5c854c89f..a731dd67c 100644
--- a/os/hal/ports/STM32/LLD/TIMv1/stm32_tim.c
+++ b/os/hal/ports/STM32/LLD/TIMv1/stm32_tim.c
@@ -78,7 +78,7 @@ OSAL_IRQ_HANDLER(STM32_TIM2_HANDLER) {
gpt_lld_serve_interrupt(&PWMD2, sr);
#endif
-#if STM32_GPT_USE_TIM2
+#if STM32_ST_USE_TIM2
st_lld_serve_interrupt();
#endif