dda.c: also reset startpoint_steps.E on relative extruder movements.

Thanks to bgamari for identifying this bug.
This commit is contained in:
Markus Hitter 2011-11-12 12:49:02 +01:00
parent 64b1a23cd3
commit 1ee4668e21
1 changed files with 1 additions and 1 deletions

2
dda.c
View File

@ -413,7 +413,7 @@ void dda_create(DDA *dda, TARGET *target) {
memcpy(&startpoint, target, sizeof(TARGET));
// if E is relative, reset it here
#ifndef E_ABSOLUTE
startpoint.E = 0;
startpoint.E = startpoint_steps.E = 0;
#endif
}