Browse Source

Fix TouchMI stow in G34 (#21291)

Cal1sto 3 years ago
parent
commit
8c512191b2
No account linked to committer's email address
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      Marlin/src/gcode/calibrate/G34_M422.cpp

+ 3
- 3
Marlin/src/gcode/calibrate/G34_M422.cpp View File

@@ -410,9 +410,9 @@ void GcodeSuite::G34() {
410 410
         SERIAL_ECHOLNPAIR_F("Accuracy: ", z_maxdiff);
411 411
       }
412 412
 
413
-      // Stow the probe, as the last call to probe.probe_at_point(...) left
414
-      // the probe deployed if it was successful.
415
-      probe.stow();
413
+      // Stow the probe because the last call to probe.probe_at_point(...)
414
+      // leaves the probe deployed when it's successful.
415
+      IF_DISABLED(TOUCH_MI_PROBE, probe.stow());
416 416
 
417 417
       #if ENABLED(HOME_AFTER_G34)
418 418
         // After this operation the z position needs correction

Loading…
Cancel
Save