From f9299c4461d6da3a0ef24ecabdfc8529ba015e61 Mon Sep 17 00:00:00 2001 From: Nils Hasenbanck Date: Sat, 12 Jan 2019 21:40:49 +0100 Subject: [PATCH] Make timer definition in pin files for STM32 possible (#12874) RemRam needs to redefine a particular timer to work correctly. The HAL did foresee this possibility and checks if the timer was already defined for either the stepper or temperature timer. Prior to this commit the header file for the timers couldn't see those definitions in the pin file, but this commit will fix this. Tested on an actual hardware to verify. (It wouldn't boot without it.) --- Marlin/src/HAL/HAL_STM32/HAL_timers_STM32.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Marlin/src/HAL/HAL_STM32/HAL_timers_STM32.h b/Marlin/src/HAL/HAL_STM32/HAL_timers_STM32.h index 4c353b478a..4794e66657 100644 --- a/Marlin/src/HAL/HAL_STM32/HAL_timers_STM32.h +++ b/Marlin/src/HAL/HAL_STM32/HAL_timers_STM32.h @@ -26,6 +26,7 @@ // -------------------------------------------------------------------------- #include +#include "../../inc/MarlinConfig.h" // -------------------------------------------------------------------------- // Defines