Browse Source

Merge pull request #5957 from MagoKimbra/rc_stepper_indirection_fix

Stepper indirection fix tmc driver
Scott Lahteine 7 years ago
parent
commit
02de8e6f18
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/stepper_indirection.cpp

+ 2
- 2
Marlin/stepper_indirection.cpp View File

@@ -85,8 +85,8 @@
85 85
   #endif
86 86
 
87 87
   #define _TMC_INIT(A) do{ \
88
-    stepper##A.setMicrosteps(A##_MICROSTEPS);
89
-    stepper##A.start();
88
+    stepper##A.setMicrosteps(A##_MICROSTEPS); \
89
+    stepper##A.start(); \
90 90
   } while(0)
91 91
 
92 92
   void tmc_init() {

Loading…
Cancel
Save