Require TMCStepper 0.2.2 or newer

In reference to #12175
This commit is contained in:
Scott Lahteine 2018-10-27 11:15:28 -05:00
parent ab8425f1b5
commit 4b7a0a5b39

View File

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