dda.c: axis_to_step = ' ' is no longer needed.
The need for this was a result of failing code in timer.c, which was fixed in recent commits.
This commit is contained in:
parent
962209dceb
commit
1996cb4167
3
dda.c
3
dda.c
|
|
@ -775,9 +775,6 @@ void dda_step(DDA *dda) {
|
||||||
*/
|
*/
|
||||||
uint32_t c_candidate;
|
uint32_t c_candidate;
|
||||||
|
|
||||||
// TODO: why is this line needed? If all steps are done, dda_steps()
|
|
||||||
// shouldn't be called any longer, until after a dda_start().
|
|
||||||
dda->axis_to_step = ' '; // start with no axis to step
|
|
||||||
if (move_state.x_steps) {
|
if (move_state.x_steps) {
|
||||||
c_candidate = move_state.x_time + dda->x_step_interval - move_state.all_time;
|
c_candidate = move_state.x_time + dda->x_step_interval - move_state.all_time;
|
||||||
dda->axis_to_step = 'x';
|
dda->axis_to_step = 'x';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue