Updates for TMC2660 init (#14245)

This commit is contained in:
teemuatlut
2019-06-14 07:16:10 +03:00
committed by Scott Lahteine
parent dfdbd1e75f
commit 29afd11cbf
3 changed files with 9 additions and 8 deletions

View File

@@ -58,8 +58,8 @@
#if HAS_TRINAMIC
#include <TMCStepper.h>
#include "../feature/tmc_util.h"
#if TMCSTEPPER_VERSION < 0x000202
#error "Update TMCStepper library to 0.2.2 or newer."
#if TMCSTEPPER_VERSION < 0x000401
#error "Update TMCStepper library to 0.4.1 or newer."
#endif
#define ____TMC_CLASS(MODEL, A, I, E) TMCMarlin<TMC##MODEL##Stepper, A, I, E>