dda.c: reset startpoint.axis[E]
when e is in relative mode. See also M83.
This commit is contained in:
parent
4944698de6
commit
c69b43b876
2
dda.c
2
dda.c
|
|
@ -461,6 +461,8 @@ void dda_create(DDA *dda, const TARGET *target) {
|
||||||
|
|
||||||
// next dda starts where we finish
|
// next dda starts where we finish
|
||||||
memcpy(&startpoint, &dda->endpoint, sizeof(TARGET));
|
memcpy(&startpoint, &dda->endpoint, sizeof(TARGET));
|
||||||
|
if (startpoint.e_relative)
|
||||||
|
startpoint.axis[E] = 0;
|
||||||
#ifdef LOOKAHEAD
|
#ifdef LOOKAHEAD
|
||||||
prev_dda = dda;
|
prev_dda = dda;
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue