From 88236ba698721e9d537c454506777591bc9842c1 Mon Sep 17 00:00:00 2001 From: Markus Hitter Date: Mon, 5 Mar 2012 22:57:47 +0100 Subject: [PATCH] gcode_process.c: also reset E on G92 without arguments. --- gcode_process.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcode_process.c b/gcode_process.c index 86b3a44..9b69039 100644 --- a/gcode_process.c +++ b/gcode_process.c @@ -306,7 +306,8 @@ void process_gcode_command() { if (axisSelected == 0) { startpoint.X = next_target.target.X = 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();