Browse Source

stepper.h parity with 1.1.x

Scott Lahteine 7 years ago
parent
commit
c241da32e8
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      Marlin/src/module/stepper.h

+ 3
- 3
Marlin/src/module/stepper.h View File

112
     #endif // LIN_ADVANCE
112
     #endif // LIN_ADVANCE
113
 
113
 
114
     static long acceleration_time, deceleration_time;
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
     static uint8_t step_loops, step_loops_nominal;
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
     static volatile long endstops_trigsteps[XYZ];
120
     static volatile long endstops_trigsteps[XYZ];
121
     static volatile long endstops_stepsTotal, endstops_stepsDone;
121
     static volatile long endstops_stepsTotal, endstops_stepsDone;

Loading…
Cancel
Save