Browse Source

G34 logic / typo fix (#15938)

pull/1/head
Evgeny-SPB 5 years ago
committed by Scott Lahteine
parent
commit
7116a8645c
  1. 2
      Marlin/src/gcode/calibrate/G34_M422.cpp

2
Marlin/src/gcode/calibrate/G34_M422.cpp

@ -194,7 +194,7 @@ void GcodeSuite::G34() {
if (iteration == 0 || i > 0) do_blocking_move_to_z(z_probe); if (iteration == 0 || i > 0) do_blocking_move_to_z(z_probe);
// Probe a Z height for each stepper. // Probe a Z height for each stepper.
const float z_probed_height = probe_at_point(z_auto_align_pos[i], raise_after, 0, true); const float z_probed_height = probe_at_point(z_auto_align_pos[iprobe], raise_after, 0, true);
if (isnan(z_probed_height)) { if (isnan(z_probed_height)) {
SERIAL_ECHOLNPGM("Probing failed."); SERIAL_ECHOLNPGM("Probing failed.");
err_break = true; err_break = true;

Loading…
Cancel
Save