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