G28: home all axis if no axis is selected
This commit is contained in:
parent
398f68e2db
commit
7f32aa80bb
|
|
@ -186,6 +186,13 @@ void process_gcode_command() {
|
||||||
axisSelected = 1;
|
axisSelected = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!axisSelected) {
|
||||||
|
zero_x();
|
||||||
|
zero_y();
|
||||||
|
zero_z();
|
||||||
|
zero_e();
|
||||||
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
// G90 - absolute positioning
|
// G90 - absolute positioning
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue