Parcourir la source

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

Cassiano Leal il y a 6 ans
Parent
révision
ff51e7322d
1 fichiers modifiés avec 3 ajouts et 4 suppressions
  1. 3
    4
      Marlin/src/module/stepper.h

+ 3
- 4
Marlin/src/module/stepper.h Voir le fichier

@@ -466,14 +466,13 @@ class Stepper {
466 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 473
     // Set the current position in steps
472 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 476
     FORCE_INLINE static uint32_t calc_timer_interval(uint32_t step_rate, uint8_t scale, uint8_t* loops) {
478 477
       uint32_t timer;
479 478
 

Chargement…
Annuler
Enregistrer