From 76e9ee33aa26d6b268387e2128e5993d4b5cf92f Mon Sep 17 00:00:00 2001 From: Karl Andersson Date: Sat, 23 Feb 2019 23:56:09 +0100 Subject: [PATCH] Fix include order to make SERIAL_PORT_2 work (#13241) --- Marlin/src/HAL/HAL_STM32/HAL.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Marlin/src/HAL/HAL_STM32/HAL.h b/Marlin/src/HAL/HAL_STM32/HAL.h index 7d369d36c7..84c57a1434 100644 --- a/Marlin/src/HAL/HAL_STM32/HAL.h +++ b/Marlin/src/HAL/HAL_STM32/HAL.h @@ -42,8 +42,6 @@ #include "fastio_STM32.h" #include "watchdog_STM32.h" -#include "HAL_timers_STM32.h" - // -------------------------------------------------------------------------- // Defines // -------------------------------------------------------------------------- @@ -101,6 +99,8 @@ #define NUM_SERIAL 1 #endif +#include "HAL_timers_STM32.h" + /** * TODO: review this to return 1 for pins that are not analog input */