dda.c: also reset startpoint_steps.E on relative extruder movements.
Thanks to bgamari for identifying this bug.
This commit is contained in:
parent
64b1a23cd3
commit
1ee4668e21
2
dda.c
2
dda.c
|
|
@ -413,7 +413,7 @@ void dda_create(DDA *dda, TARGET *target) {
|
||||||
memcpy(&startpoint, target, sizeof(TARGET));
|
memcpy(&startpoint, target, sizeof(TARGET));
|
||||||
// if E is relative, reset it here
|
// if E is relative, reset it here
|
||||||
#ifndef E_ABSOLUTE
|
#ifndef E_ABSOLUTE
|
||||||
startpoint.E = 0;
|
startpoint.E = startpoint_steps.E = 0;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue