Ver código fonte

stepper.h parity with 1.1.x

Scott Lahteine 7 anos atrás
pai
commit
c241da32e8
1 arquivos alterados com 3 adições e 3 exclusões
  1. 3
    3
      Marlin/src/module/stepper.h

+ 3
- 3
Marlin/src/module/stepper.h Ver arquivo

@@ -112,10 +112,10 @@ class Stepper {
112 112
     #endif // LIN_ADVANCE
113 113
 
114 114
     static long acceleration_time, deceleration_time;
115
-    //unsigned long accelerate_until, decelerate_after, acceleration_rate, initial_rate, final_rate, nominal_rate;
116
-    static hal_timer_t acc_step_rate; // needed for deceleration start point
117 115
     static uint8_t step_loops, step_loops_nominal;
118
-    static hal_timer_t OCR1A_nominal;
116
+
117
+    static hal_timer_t OCR1A_nominal,
118
+                       acc_step_rate; // needed for deceleration start point
119 119
 
120 120
     static volatile long endstops_trigsteps[XYZ];
121 121
     static volatile long endstops_stepsTotal, endstops_stepsDone;

Carregando…
Cancelar
Salvar