Don't set all axis to home on G92 E0
This commit is contained in:
parent
0a92c13051
commit
ad7f7f0e96
|
|
@ -230,7 +230,10 @@ void process_gcode_command() {
|
||||||
startpoint.Z = current_position.Z = next_target.target.Z;
|
startpoint.Z = current_position.Z = next_target.target.Z;
|
||||||
axisSelected = 1;
|
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) {
|
if (axisSelected == 0) {
|
||||||
startpoint.X = current_position.X = next_target.target.X =
|
startpoint.X = current_position.X = next_target.target.X =
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue