Stepper indirection fix tmc driver

This commit is contained in:
MagoKimbra 2017-03-04 12:17:39 +01:00
parent 177ad245f6
commit ae277aebc6

View file

@ -85,8 +85,8 @@
#endif
#define _TMC_INIT(A) do{ \
stepper##A.setMicrosteps(A##_MICROSTEPS);
stepper##A.start();
stepper##A.setMicrosteps(A##_MICROSTEPS); \
stepper##A.start(); \
} while(0)
void tmc_init() {