1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-24 04:29:34 +00:00

Add TMC2208 include in tmc_util.h

This commit is contained in:
Scott Lahteine 2018-03-13 02:12:22 -05:00
parent 96c54c188a
commit 17b4ba7c9c

View File

@ -23,10 +23,16 @@
#ifndef _TMC_UTIL_H_
#define _TMC_UTIL_H_
#include <TMC2130Stepper.h>
#include "MarlinConfig.h"
#if ENABLED(HAVE_TMC2130)
#include <TMC2130Stepper.h>
#endif
#if ENABLED(HAVE_TMC2208)
#include <TMC2208Stepper.h>
#endif
extern bool report_tmc_status;
enum TMC_AxisEnum : char { TMC_X, TMC_X2, TMC_Y, TMC_Y2, TMC_Z, TMC_Z2, TMC_E0, TMC_E1, TMC_E2, TMC_E3, TMC_E4 };