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.)
This commit is contained in:
Nils Hasenbanck 2019-01-12 21:40:49 +01:00 committed by Scott Lahteine
parent 082f6a27de
commit f9299c4461

View File

@ -26,6 +26,7 @@
// --------------------------------------------------------------------------
#include <stdint.h>
#include "../../inc/MarlinConfig.h"
// --------------------------------------------------------------------------
// Defines