🩹 PROBING_TOOL followup (#26122)
Followup to #24411 Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
@@ -84,7 +84,7 @@ void ac_setup(const bool reset_bed) {
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void ac_cleanup(TERN_(HAS_MULTI_HOTEND, const uint8_t old_tool_index)) {
|
void ac_cleanup() {
|
||||||
TERN_(DELTA_HOME_TO_SAFE_ZONE, do_blocking_move_to_z(delta_clip_start_height));
|
TERN_(DELTA_HOME_TO_SAFE_ZONE, do_blocking_move_to_z(delta_clip_start_height));
|
||||||
TERN_(HAS_BED_PROBE, probe.stow());
|
TERN_(HAS_BED_PROBE, probe.stow());
|
||||||
restore_feedrate_and_scaling();
|
restore_feedrate_and_scaling();
|
||||||
@@ -501,7 +501,7 @@ void GcodeSuite::G33() {
|
|||||||
zero_std_dev_old = zero_std_dev;
|
zero_std_dev_old = zero_std_dev;
|
||||||
if (!probe_calibration_points(z_at_pt, probe_points, dcr, towers_set, stow_after_each, probe_at_offset)) {
|
if (!probe_calibration_points(z_at_pt, probe_points, dcr, towers_set, stow_after_each, probe_at_offset)) {
|
||||||
SERIAL_ECHOLNPGM("Correct delta settings with M665 and M666");
|
SERIAL_ECHOLNPGM("Correct delta settings with M665 and M666");
|
||||||
return ac_cleanup(TERN_(HAS_MULTI_HOTEND, old_tool_index));
|
return ac_cleanup();
|
||||||
}
|
}
|
||||||
zero_std_dev = std_dev_points(z_at_pt, _0p_calibration, _1p_calibration, _4p_calibration, _4p_opposite_points);
|
zero_std_dev = std_dev_points(z_at_pt, _0p_calibration, _1p_calibration, _4p_calibration, _4p_opposite_points);
|
||||||
|
|
||||||
@@ -678,7 +678,7 @@ void GcodeSuite::G33() {
|
|||||||
}
|
}
|
||||||
while (((zero_std_dev < test_precision && iterations < 31) || iterations <= force_iterations) && zero_std_dev > calibration_precision);
|
while (((zero_std_dev < test_precision && iterations < 31) || iterations <= force_iterations) && zero_std_dev > calibration_precision);
|
||||||
|
|
||||||
ac_cleanup(TERN_(HAS_MULTI_HOTEND, old_tool_index));
|
ac_cleanup();
|
||||||
|
|
||||||
TERN_(FULL_REPORT_TO_HOST_FEATURE, set_and_report_grblstate(M_IDLE));
|
TERN_(FULL_REPORT_TO_HOST_FEATURE, set_and_report_grblstate(M_IDLE));
|
||||||
#if HAS_DELTA_SENSORLESS_PROBING
|
#if HAS_DELTA_SENSORLESS_PROBING
|
||||||
|
Reference in New Issue
Block a user