From 34f656decd0bd32a221c14b635f2cb1a73c66a61 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Tue, 13 Mar 2018 02:01:41 -0500 Subject: [PATCH] Add TMC2208 include in tmc_util.h --- Marlin/src/feature/tmc_util.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Marlin/src/feature/tmc_util.h b/Marlin/src/feature/tmc_util.h index 63312f7581..8ea7a862b9 100644 --- a/Marlin/src/feature/tmc_util.h +++ b/Marlin/src/feature/tmc_util.h @@ -23,9 +23,15 @@ #ifndef _TMC_UTIL_H_ #define _TMC_UTIL_H_ -#include +#include "../inc/MarlinConfigPre.h" -#include "../inc/MarlinConfig.h" +#if ENABLED(HAVE_TMC2130) + #include +#endif + +#if ENABLED(HAVE_TMC2208) + #include +#endif extern bool report_tmc_status;