Always reset e_steps between blocks
If e_steps are scheduled, but not ticked, they're just lost. Only carry over the pressure state.
This commit is contained in:
parent
5d27f3362a
commit
9ec0ac9c64
@ -354,10 +354,10 @@ FORCE_INLINE void stepper_next_block()
|
|||||||
max_adv_steps = current_block->max_adv_steps;
|
max_adv_steps = current_block->max_adv_steps;
|
||||||
e_step_loops = current_block->advance_step_loops;
|
e_step_loops = current_block->advance_step_loops;
|
||||||
} else {
|
} else {
|
||||||
e_steps = 0;
|
|
||||||
e_step_loops = 1;
|
e_step_loops = 1;
|
||||||
current_adv_steps = 0;
|
current_adv_steps = 0;
|
||||||
}
|
}
|
||||||
|
e_steps = 0;
|
||||||
nextAdvanceISR = ADV_NEVER;
|
nextAdvanceISR = ADV_NEVER;
|
||||||
LA_phase = -1;
|
LA_phase = -1;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user