gcode_process.c: also reset E on G92 without arguments.

This commit is contained in:
Markus Hitter 2012-03-05 22:57:47 +01:00
parent 4087357a70
commit 88236ba698
1 changed files with 2 additions and 1 deletions

View File

@ -306,7 +306,8 @@ void process_gcode_command() {
if (axisSelected == 0) { if (axisSelected == 0) {
startpoint.X = next_target.target.X = startpoint.X = next_target.target.X =
startpoint.Y = next_target.target.Y = startpoint.Y = next_target.target.Y =
startpoint.Z = next_target.target.Z = 0; startpoint.Z = next_target.target.Z =
startpoint.E = next_target.target.E = 0;
} }
dda_new_startpoint(); dda_new_startpoint();