dda.c: initialize dda.c properly.

This commit is contained in:
Markus Hitter 2011-12-12 00:38:15 +01:00
parent 1996cb4167
commit 07fcff1661
1 changed files with 1 additions and 0 deletions

1
dda.c
View File

@ -775,6 +775,7 @@ void dda_step(DDA *dda) {
*/
uint32_t c_candidate;
dda->c = 0xFFFFFFFF;
if (move_state.x_steps) {
c_candidate = move_state.x_time + dda->x_step_interval - move_state.all_time;
dda->axis_to_step = 'x';