esenapaj преди 8 години
родител
ревизия
954563d603
променени са 2 файла, в които са добавени 11 реда и са изтрити 11 реда
  1. 9
    9
      Marlin/stepper.cpp
  2. 2
    2
      Marlin/stepper.h

+ 9
- 9
Marlin/stepper.cpp Целия файл

@@ -82,10 +82,10 @@ unsigned int Stepper::cleaning_buffer_counter = 0;
82 82
   bool Stepper::locked_z2_motor = false;
83 83
 #endif
84 84
 
85
-long  Stepper::counter_X = 0,
86
-      Stepper::counter_Y = 0,
87
-      Stepper::counter_Z = 0,
88
-      Stepper::counter_E = 0;
85
+long Stepper::counter_X = 0,
86
+     Stepper::counter_Y = 0,
87
+     Stepper::counter_Z = 0,
88
+     Stepper::counter_E = 0;
89 89
 
90 90
 volatile uint32_t Stepper::step_events_completed = 0; // The number of step events executed in the current block
91 91
 
@@ -101,11 +101,11 @@ volatile uint32_t Stepper::step_events_completed = 0; // The number of step even
101 101
         Stepper::current_estep_rate[E_STEPPERS],
102 102
         Stepper::current_adv_steps[E_STEPPERS];
103 103
   #else
104
-    long  Stepper::e_steps[E_STEPPERS],
105
-          Stepper::final_advance = 0,
106
-          Stepper::old_advance = 0,
107
-          Stepper::advance_rate,
108
-          Stepper::advance;
104
+    long Stepper::e_steps[E_STEPPERS],
105
+         Stepper::final_advance = 0,
106
+         Stepper::old_advance = 0,
107
+         Stepper::advance_rate,
108
+         Stepper::advance;
109 109
   #endif
110 110
 #endif
111 111
 

+ 2
- 2
Marlin/stepper.h Целия файл

@@ -118,8 +118,8 @@ class Stepper {
118 118
         static int final_estep_rate;
119 119
         static int current_estep_rate[E_STEPPERS]; // Actual extruder speed [steps/s]
120 120
         static int current_adv_steps[E_STEPPERS];  // The amount of current added esteps due to advance.
121
-                                                  // i.e., the current amount of pressure applied
122
-                                                  // to the spring (=filament).
121
+                                                   // i.e., the current amount of pressure applied
122
+                                                   // to the spring (=filament).
123 123
       #else
124 124
         static long e_steps[E_STEPPERS];
125 125
         static long advance_rate, advance, final_advance;

Loading…
Отказ
Запис