Explorar el Código

Fix for Stepper::set_directions() compilation error (#11838)

Cassiano Leal hace 6 años
padre
commit
ff51e7322d
Se han modificado 1 ficheros con 3 adiciones y 4 borrados
  1. 3
    4
      Marlin/src/module/stepper.h

+ 3
- 4
Marlin/src/module/stepper.h Ver fichero

466
       #endif
466
       #endif
467
     }
467
     }
468
 
468
 
469
-  private:
469
+    // Set direction bits for all steppers
470
+    static void set_directions();
470
 
471
 
472
+  private:
471
     // Set the current position in steps
473
     // Set the current position in steps
472
     static void _set_position(const int32_t &a, const int32_t &b, const int32_t &c, const int32_t &e);
474
     static void _set_position(const int32_t &a, const int32_t &b, const int32_t &c, const int32_t &e);
473
 
475
 
474
-    // Set direction bits for all steppers
475
-    static void set_directions();
476
-
477
     FORCE_INLINE static uint32_t calc_timer_interval(uint32_t step_rate, uint8_t scale, uint8_t* loops) {
476
     FORCE_INLINE static uint32_t calc_timer_interval(uint32_t step_rate, uint8_t scale, uint8_t* loops) {
478
       uint32_t timer;
477
       uint32_t timer;
479
 
478
 

Loading…
Cancelar
Guardar