G28: home all axis if no axis is selected

This commit is contained in:
Markus Amsler 2011-02-08 02:38:33 +01:00 committed by Michael Moon
parent 398f68e2db
commit 7f32aa80bb
1 changed files with 7 additions and 0 deletions

View File

@ -186,6 +186,13 @@ void process_gcode_command() {
axisSelected = 1;
}
if (!axisSelected) {
zero_x();
zero_y();
zero_z();
zero_e();
}
break;
// G90 - absolute positioning