Browse Source

Merge pull request #5957 from MagoKimbra/rc_stepper_indirection_fix

Stepper indirection fix tmc driver
Scott Lahteine 8 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
   #endif
85
   #endif
86
 
86
 
87
   #define _TMC_INIT(A) do{ \
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
   } while(0)
90
   } while(0)
91
 
91
 
92
   void tmc_init() {
92
   void tmc_init() {

Loading…
Cancel
Save