Merge pull request #5957 from MagoKimbra/rc_stepper_indirection_fix
Stepper indirection fix tmc driver
This commit is contained in:
commit
02de8e6f18
1 changed files with 2 additions and 2 deletions
|
@ -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() {
|
||||
|
|
Reference in a new issue