diff --git a/Marlin/Marlin.pde b/Marlin/Marlin.pde index 3c6791336f..7c0d31011c 100644 --- a/Marlin/Marlin.pde +++ b/Marlin/Marlin.pde @@ -532,6 +532,19 @@ FORCE_INLINE void process_commands() feedrate = 0.0; home_all_axis = !((code_seen(axis_codes[0])) || (code_seen(axis_codes[1])) || (code_seen(axis_codes[2]))); + if( code_seen(axis_codes[0]) && code_seen(axis_codes[1]) ) //first diagonal move + { + current_position[X_AXIS] = 0; current_position[Y_AXIS] = 0; + plan_set_position(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS]); + destination[X_AXIS] = 1.5 * X_MAX_LENGTH * X_HOME_DIR; + destination[Y_AXIS] = 1.5 * Y_MAX_LENGTH * Y_HOME_DIR; + feedrate =homing_feedrate[X_AXIS]; + if(homing_feedrate[Y_AXIS]