|
@@ -1343,9 +1343,11 @@ inline void sync_plan_position() {
|
1343
|
1343
|
run_z_probe();
|
1344
|
1344
|
float measured_z = current_position[Z_AXIS];
|
1345
|
1345
|
|
1346
|
|
- #if Z_RAISE_AFTER_PROBING > 0
|
1347
|
|
- do_blocking_move_to(current_position[X_AXIS], current_position[Y_AXIS], Z_RAISE_AFTER_PROBING);
|
1348
|
|
- st_synchronize();
|
|
1346
|
+ #if Z_RAISE_BETWEEN_PROBINGS > 0
|
|
1347
|
+ if (retract_action == ProbeStay) {
|
|
1348
|
+ do_blocking_move_to(current_position[X_AXIS], current_position[Y_AXIS], Z_RAISE_BETWEEN_PROBINGS);
|
|
1349
|
+ st_synchronize();
|
|
1350
|
+ }
|
1349
|
1351
|
#endif
|
1350
|
1352
|
|
1351
|
1353
|
#if !defined(Z_PROBE_SLED) && !defined(Z_PROBE_ALLEN_KEY)
|