|
@@ -809,8 +809,8 @@ void process_commands()
|
809
|
809
|
destination[i] = current_position[i];
|
810
|
810
|
}
|
811
|
811
|
feedrate = 0.0;
|
812
|
|
- home_all_axis = !((code_seen(axis_codes[0])) || (code_seen(axis_codes[1])) || (code_seen(axis_codes[2])));
|
813
|
|
-
|
|
812
|
+ home_all_axis = !((code_seen(axis_codes[0])) || (code_seen(axis_codes[1])) || (code_seen(axis_codes[2])))
|
|
813
|
+ || ((code_seen(axis_codes[0])) && (code_seen(axis_codes[1])) && (code_seen(axis_codes[2])));
|
814
|
814
|
#if Z_HOME_DIR > 0 // If homing away from BED do Z first
|
815
|
815
|
if((home_all_axis) || (code_seen(axis_codes[Z_AXIS]))) {
|
816
|
816
|
HOMEAXIS(Z);
|