dda.c: fix a typo in update_current_position().
This commit is contained in:
parent
4e5f51f01e
commit
64b1a23cd3
2
dda.c
2
dda.c
|
|
@ -762,7 +762,7 @@ void update_current_position() {
|
||||||
#ifndef E_ABSOLUTE
|
#ifndef E_ABSOLUTE
|
||||||
current_position.E = move_state.e_steps * 1000 / ((STEPS_PER_M_E + 500) / 1000);
|
current_position.E = move_state.e_steps * 1000 / ((STEPS_PER_M_E + 500) / 1000);
|
||||||
#else
|
#else
|
||||||
if (dda->z_direction)
|
if (dda->e_direction)
|
||||||
current_position.E = dda->endpoint.E -
|
current_position.E = dda->endpoint.E -
|
||||||
move_state.e_steps * 1000 / ((STEPS_PER_M_E + 500) / 1000);
|
move_state.e_steps * 1000 / ((STEPS_PER_M_E + 500) / 1000);
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue