Pārlūkot izejas kodu

Fix TouchMI stow in G34 (#21291)

Cal1sto 3 gadus atpakaļ
vecāks
revīzija
8c512191b2
Revīzijas autora e-pasta adrese nav piesaistīta nevienam kontam
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 3
    3
      Marlin/src/gcode/calibrate/G34_M422.cpp

+ 3
- 3
Marlin/src/gcode/calibrate/G34_M422.cpp Parādīt failu

@@ -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

Notiek ielāde…
Atcelt
Saglabāt