|
@@ -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;
|