Ver código fonte

Stepper indirection fix tmc driver

MagoKimbra 7 anos atrás
pai
commit
ae277aebc6
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2
    2
      Marlin/stepper_indirection.cpp

+ 2
- 2
Marlin/stepper_indirection.cpp Ver arquivo

@@ -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() {

Carregando…
Cancelar
Salvar