Allow setting xy_travel_speed for delta leveling also

This commit is contained in:
Scott Lahteine 2016-06-18 01:40:49 -07:00
parent d36d4edd80
commit 4e860babbc

View File

@ -1762,7 +1762,7 @@ static void setup_for_endstop_move() {
#if ENABLED(DELTA)
feedrate = XY_TRAVEL_SPEED;
feedrate = xy_travel_speed;
destination[X_AXIS] = x;
destination[Y_AXIS] = y;
@ -1854,7 +1854,6 @@ static void setup_for_endstop_move() {
if (z_min_endstop)
#endif
{
// Move to the start position to initiate deployment
destination[X_AXIS] = Z_PROBE_ALLEN_KEY_DEPLOY_1_X;
destination[Y_AXIS] = Z_PROBE_ALLEN_KEY_DEPLOY_1_Y;