Bläddra i källkod

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.)
Nils Hasenbanck 6 år sedan
förälder
incheckning
f9299c4461
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1
    0
      Marlin/src/HAL/HAL_STM32/HAL_timers_STM32.h

+ 1
- 0
Marlin/src/HAL/HAL_STM32/HAL_timers_STM32.h Visa fil

26
 // --------------------------------------------------------------------------
26
 // --------------------------------------------------------------------------
27
 
27
 
28
 #include <stdint.h>
28
 #include <stdint.h>
29
+#include "../../inc/MarlinConfig.h"
29
 
30
 
30
 // --------------------------------------------------------------------------
31
 // --------------------------------------------------------------------------
31
 // Defines
32
 // Defines

Laddar…
Avbryt
Spara