From c61fcb67273698c5d2d9b9d882aa89ba0c0ed593 Mon Sep 17 00:00:00 2001 From: patricklaf Date: Mon, 19 Oct 2020 17:00:48 +0200 Subject: [PATCH] Update HardwareTimer.cpp Fix typo on TIM13_BASE in IRQ handler. --- cores/arduino/HardwareTimer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cores/arduino/HardwareTimer.cpp b/cores/arduino/HardwareTimer.cpp index 5b50c272ec..d26e8342b8 100644 --- a/cores/arduino/HardwareTimer.cpp +++ b/cores/arduino/HardwareTimer.cpp @@ -1554,11 +1554,11 @@ extern "C" { } #if defined(STM32F1xx) || defined(STM32F2xx) ||defined(STM32F4xx) || defined(STM32F7xx) || defined(STM32H7xx) -#if defined(TIMER13_BASE) +#if defined(TIM13_BASE) if (HardwareTimer_Handle[TIMER13_INDEX]) { HAL_TIM_IRQHandler(&HardwareTimer_Handle[TIMER13_INDEX]->handle); } -#endif // TIMER13_BASE +#endif // TIM13_BASE #endif }