Browse Source
Add the move_z_after_probing() functionality to UBL's G29 J
pull/1/head
Roxy-3D
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
11 additions and
3 deletions
-
Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp
|
|
@ -1562,7 +1562,12 @@ |
|
|
|
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; |
|
|
@ -1618,9 +1623,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; |
|
|
|