Add TMC2208 include in tmc_util.h

This commit is contained in:
Scott Lahteine 2018-03-13 02:01:41 -05:00
parent 374ea49be9
commit 34f656decd

View File

@ -23,9 +23,15 @@
#ifndef _TMC_UTIL_H_ #ifndef _TMC_UTIL_H_
#define _TMC_UTIL_H_ #define _TMC_UTIL_H_
#include <TMC2130Stepper.h> #include "../inc/MarlinConfigPre.h"
#include "../inc/MarlinConfig.h" #if ENABLED(HAVE_TMC2130)
#include <TMC2130Stepper.h>
#endif
#if ENABLED(HAVE_TMC2208)
#include <TMC2208Stepper.h>
#endif
extern bool report_tmc_status; extern bool report_tmc_status;