allow G92 to work again after 0389289
This commit is contained in:
parent
03892894ed
commit
74e03b7df1
3
dda.c
3
dda.c
|
|
@ -577,6 +577,9 @@ void dda_step(DDA *dda) {
|
||||||
void update_position() {
|
void update_position() {
|
||||||
DDA *dda = &movebuffer[mb_tail];
|
DDA *dda = &movebuffer[mb_tail];
|
||||||
|
|
||||||
|
if (dda->live == 0)
|
||||||
|
return;
|
||||||
|
|
||||||
if (dda->x_direction)
|
if (dda->x_direction)
|
||||||
current_position.X = dda->endpoint.X - dda->x_steps;
|
current_position.X = dda->endpoint.X - dda->x_steps;
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue