|
@ -60,8 +60,8 @@ |
|
|
#if HAS_TRINAMIC |
|
|
#if HAS_TRINAMIC |
|
|
#include <TMCStepper.h> |
|
|
#include <TMCStepper.h> |
|
|
#include "../feature/tmc_util.h" |
|
|
#include "../feature/tmc_util.h" |
|
|
#if TMCSTEPPER_VERSION < 0x000001 |
|
|
#if TMCSTEPPER_VERSION < 0x000202 |
|
|
#error "Update TMCStepper library to 0.0.1 or newer." |
|
|
#error "Update TMCStepper library to 0.2.2 or newer." |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
#define __TMC_CLASS(MODEL, A, I) TMCMarlin<TMC##MODEL##Stepper, A, I> |
|
|
#define __TMC_CLASS(MODEL, A, I) TMCMarlin<TMC##MODEL##Stepper, A, I> |
|
|