浏览代码

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 年前
父节点
当前提交
f9299c4461
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      Marlin/src/HAL/HAL_STM32/HAL_timers_STM32.h

+ 1
- 0
Marlin/src/HAL/HAL_STM32/HAL_timers_STM32.h 查看文件

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

正在加载...
取消
保存