Merge pull request #4323 from jbrazio/followup-4320

Followup for #4320
This commit is contained in:
João Brázio 2016-07-16 12:07:31 +01:00 committed by GitHub
commit 7202383695

View File

@ -1706,10 +1706,6 @@ inline void do_blocking_move_to_z(float z, float feed_rate = 0.0) {
do_blocking_move_to(current_position[X_AXIS], current_position[Y_AXIS], z, feed_rate);
}
inline void do_blocking_move_to_xy(float x, float y, float feed_rate = 0.0) {
do_blocking_move_to(x, y, current_position[Z_AXIS], feed_rate);
}
//
// Prepare to do endstop or probe moves
// with custom feedrates.
@ -1760,6 +1756,7 @@ static void clean_up_after_endstop_or_probe_move() {
#endif //HAS_BED_PROBE
#if ENABLED(Z_PROBE_ALLEN_KEY) || ENABLED(Z_PROBE_SLED) || ENABLED(Z_SAFE_HOMING) || HAS_PROBING_PROCEDURE || HOTENDS > 1 || ENABLED(NOZZLE_CLEAN_FEATURE) || ENABLED(NOZZLE_PARK_FEATURE)
static bool axis_unhomed_error(const bool x, const bool y, const bool z) {
const bool xx = x && !axis_homed[X_AXIS],
yy = y && !axis_homed[Y_AXIS],
@ -1785,6 +1782,7 @@ static bool axis_unhomed_error(const bool x, const bool y, const bool z) {
}
return false;
}
#endif
#if ENABLED(Z_PROBE_SLED)