Don't set all axis to home on G92 E0

This commit is contained in:
Markus Amsler 2011-04-07 03:15:47 +02:00
parent 0a92c13051
commit ad7f7f0e96
1 changed files with 4 additions and 1 deletions

View File

@ -230,7 +230,10 @@ void process_gcode_command() {
startpoint.Z = current_position.Z = next_target.target.Z;
axisSelected = 1;
}
// there's no point in setting E, as E is always relative
if (next_target.seen_E) {
// there's no point in setting E, as E is always relative
axisSelected = 1;
}
if (axisSelected == 0) {
startpoint.X = current_position.X = next_target.target.X =