Browse Source

Stepper indirection fix tmc driver

MagoKimbra 8 years ago
parent
commit
ae277aebc6
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