mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 05:48:43 +00:00
Fix extraneous Linear Advance DIR change (#20131)
This commit is contained in:
parent
a6ff61d52e
commit
a97a1ae218
@ -2255,7 +2255,6 @@ uint32_t Stepper::block_phase_isr() {
|
||||
interval = LA_isr_rate;
|
||||
}
|
||||
else if (step_events_completed < decelerate_after && LA_current_adv_steps < LA_max_adv_steps) {
|
||||
//step_events_completed <= (uint32_t)accelerate_until) {
|
||||
LA_steps++;
|
||||
LA_current_adv_steps++;
|
||||
interval = LA_isr_rate;
|
||||
@ -2266,6 +2265,8 @@ uint32_t Stepper::block_phase_isr() {
|
||||
else
|
||||
interval = LA_ADV_NEVER;
|
||||
|
||||
if (!LA_steps) return interval; // Leave pins alone if there are no steps!
|
||||
|
||||
DIR_WAIT_BEFORE();
|
||||
|
||||
#if ENABLED(MIXING_EXTRUDER)
|
||||
|
Loading…
Reference in New Issue
Block a user