Browse Source

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.)
pull/1/head
Nils Hasenbanck 6 years ago
committed by Scott Lahteine
parent
commit
f9299c4461
  1. 1
      Marlin/src/HAL/HAL_STM32/HAL_timers_STM32.h

1
Marlin/src/HAL/HAL_STM32/HAL_timers_STM32.h

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

Loading…
Cancel
Save