Browse Source

Require TMCStepper 0.2.2 or newer

In reference to #12175
pull/1/head
Scott Lahteine 6 years ago
parent
commit
4b7a0a5b39
  1. 4
      Marlin/src/module/stepper_indirection.h

4
Marlin/src/module/stepper_indirection.h

@ -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>

Loading…
Cancel
Save