Merge pull request #5957 from MagoKimbra/rc_stepper_indirection_fix

Stepper indirection fix tmc driver
This commit is contained in:
Scott Lahteine 2017-03-06 01:16:40 -06:00 committed by GitHub
commit 02de8e6f18

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() {