Merge pull request #5957 from MagoKimbra/rc_stepper_indirection_fix
Stepper indirection fix tmc driver
This commit is contained in:
commit
02de8e6f18
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue