Bläddra i källkod

If needed, home before G34 (#19713)

Keith Bennett 4 år sedan
förälder
incheckning
64711e0d56
Inget konto är kopplat till bidragsgivarens mejladress
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2
    1
      Marlin/src/gcode/calibrate/G34.cpp

+ 2
- 1
Marlin/src/gcode/calibrate/G34.cpp Visa fil

38
 
38
 
39
 void GcodeSuite::G34() {
39
 void GcodeSuite::G34() {
40
 
40
 
41
-  if (homing_needed()) return;
41
+  // Home before the alignment procedure
42
+  if (!all_axes_known()) home_all_axes();
42
 
43
 
43
   SET_SOFT_ENDSTOP_LOOSE(true);
44
   SET_SOFT_ENDSTOP_LOOSE(true);
44
   TEMPORARY_BED_LEVELING_STATE(false);
45
   TEMPORARY_BED_LEVELING_STATE(false);

Laddar…
Avbryt
Spara