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:
Markus Hitter 2011-12-12 00:33:08 +01:00
parent 962209dceb
commit 1996cb4167
1 changed files with 0 additions and 3 deletions

3
dda.c
View File

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