Fix G34 probe position (#13251)
This commit is contained in:
parent
e15354e387
commit
92a4984066
|
@ -137,7 +137,7 @@ void GcodeSuite::G34() {
|
||||||
// For each iteration go through all probe positions (one per Z-Stepper)
|
// For each iteration go through all probe positions (one per Z-Stepper)
|
||||||
for (uint8_t zstepper = 0; zstepper < Z_STEPPER_COUNT; ++zstepper) {
|
for (uint8_t zstepper = 0; zstepper < Z_STEPPER_COUNT; ++zstepper) {
|
||||||
// Probe a Z height for each stepper
|
// Probe a Z height for each stepper
|
||||||
z_measured[zstepper] = probe_pt(z_auto_align_xpos[zstepper], z_auto_align_ypos[zstepper], PROBE_PT_RAISE, 0, false);
|
z_measured[zstepper] = probe_pt(z_auto_align_xpos[zstepper], z_auto_align_ypos[zstepper], PROBE_PT_RAISE, false);
|
||||||
|
|
||||||
// Stop on error
|
// Stop on error
|
||||||
if (isnan(z_measured[zstepper])) {
|
if (isnan(z_measured[zstepper])) {
|
||||||
|
|
Loading…
Reference in a new issue