|
@@ -1543,7 +1543,6 @@ inline void set_destination_to_current() { memcpy(destination, current_position,
|
1543
|
1543
|
do_blocking_move_to(X_MAX_POS + SLED_DOCKING_OFFSET + offset - 1, current_position[Y_AXIS], current_position[Z_AXIS]); // Dock sled a bit closer to ensure proper capturing
|
1544
|
1544
|
digitalWrite(SLED_PIN, LOW); // turn off magnet
|
1545
|
1545
|
do_blocking_move_to(oldXpos, current_position[Y_AXIS], current_position[Z_AXIS]); // return to position before docking
|
1546
|
|
- do_blocking_move_to(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS] - Z_RAISE_AFTER_PROBING);
|
1547
|
1546
|
} else {
|
1548
|
1547
|
float oldXpos = current_position[X_AXIS]; // save x position
|
1549
|
1548
|
float z_loc = current_position[Z_AXIS];
|