dda.c: initialize dda.c properly.
This commit is contained in:
parent
1996cb4167
commit
07fcff1661
1
dda.c
1
dda.c
|
|
@ -775,6 +775,7 @@ void dda_step(DDA *dda) {
|
||||||
*/
|
*/
|
||||||
uint32_t c_candidate;
|
uint32_t c_candidate;
|
||||||
|
|
||||||
|
dda->c = 0xFFFFFFFF;
|
||||||
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