add the move_z_after_probing() functionality to UBL's G29 J

This commit is contained in:
Roxy-3D
2018-06-21 13:22:40 -05:00
committed by GitHub
parent 3bb332b440
commit 7632df6820

View File

@@ -1559,7 +1559,10 @@
incremental_LSF(&lsf_results, PROBE_PT_3_X, PROBE_PT_3_Y, measured_z);
}
}
STOW_PROBE();
#ifdef Z_AFTER_PROBING
move_z_after_probing();
#endif
if (abort_flag) {
SERIAL_ECHOPGM("?Error probing point. Aborting operation.\n");
return;
@@ -1615,9 +1618,12 @@
zig_zag ^= true;
}
STOW_PROBE();
}
STOW_PROBE();
#ifdef Z_AFTER_PROBING
move_z_after_probing();
#endif
if (abort_flag || finish_incremental_LSF(&lsf_results)) {
SERIAL_ECHOPGM("Could not complete LSF!");
return;