|
@@ -2255,7 +2255,6 @@ uint32_t Stepper::block_phase_isr() {
|
2255
|
2255
|
interval = LA_isr_rate;
|
2256
|
2256
|
}
|
2257
|
2257
|
else if (step_events_completed < decelerate_after && LA_current_adv_steps < LA_max_adv_steps) {
|
2258
|
|
- //step_events_completed <= (uint32_t)accelerate_until) {
|
2259
|
2258
|
LA_steps++;
|
2260
|
2259
|
LA_current_adv_steps++;
|
2261
|
2260
|
interval = LA_isr_rate;
|
|
@@ -2266,6 +2265,8 @@ uint32_t Stepper::block_phase_isr() {
|
2266
|
2265
|
else
|
2267
|
2266
|
interval = LA_ADV_NEVER;
|
2268
|
2267
|
|
|
2268
|
+ if (!LA_steps) return interval; // Leave pins alone if there are no steps!
|
|
2269
|
+
|
2269
|
2270
|
DIR_WAIT_BEFORE();
|
2270
|
2271
|
|
2271
|
2272
|
#if ENABLED(MIXING_EXTRUDER)
|