diff --git a/dda.c b/dda.c index 3c7b99480..c707cc241 100644 --- a/dda.c +++ b/dda.c @@ -974,9 +974,6 @@ void update_current_position() { current_position.F = dda->endpoint.F; } else { - for (i = X; i < AXIS_COUNT; i++) { - current_position.axis[i] = startpoint.axis[i]; - } - current_position.F = startpoint.F; + memcpy(¤t_position, &startpoint, sizeof(TARGET)); } }