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

This commit is contained in:
Roxy-3D 2018-06-21 13:26:20 -05:00 committed by GitHub
parent 7a84b03796
commit 1d7dd0edfd
Signed by: GitHub
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1563,6 +1563,11 @@
} }
} }
STOW_PROBE();
#ifdef Z_AFTER_PROBING
move_z_after_probing();
#endif
if (abort_flag) { if (abort_flag) {
SERIAL_ECHOPGM("?Error probing point. Aborting operation.\n"); SERIAL_ECHOPGM("?Error probing point. Aborting operation.\n");
return; return;
@ -1618,8 +1623,11 @@
zig_zag ^= true; zig_zag ^= true;
} }
STOW_PROBE();
} }
STOW_PROBE();
#ifdef Z_AFTER_PROBING
move_z_after_probing();
#endif
if (abort_flag || finish_incremental_LSF(&lsf_results)) { if (abort_flag || finish_incremental_LSF(&lsf_results)) {
SERIAL_ECHOPGM("Could not complete LSF!"); SERIAL_ECHOPGM("Could not complete LSF!");