Browse Source

Add TMC2208 include in tmc_util.h

pull/1/head
Scott Lahteine 7 years ago
parent
commit
34f656decd
  1. 10
      Marlin/src/feature/tmc_util.h

10
Marlin/src/feature/tmc_util.h

@ -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;

Loading…
Cancel
Save