mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 22:08:02 +00:00
Add TMC2208 include in tmc_util.h
This commit is contained in:
parent
96c54c188a
commit
17b4ba7c9c
@ -23,10 +23,16 @@
|
|||||||
#ifndef _TMC_UTIL_H_
|
#ifndef _TMC_UTIL_H_
|
||||||
#define _TMC_UTIL_H_
|
#define _TMC_UTIL_H_
|
||||||
|
|
||||||
#include <TMC2130Stepper.h>
|
|
||||||
|
|
||||||
#include "MarlinConfig.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;
|
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 };
|
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 };
|
||||||
|
Loading…
Reference in New Issue
Block a user