Browse Source

Init (stow) BLTouch before X/Y homing (#21192)

ldursw 4 years ago
parent
commit
7a1ec78563
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/gcode/calibrate/G28.cpp

+ 1
- 1
Marlin/src/gcode/calibrate/G28.cpp View File

332
       // Raise Z before homing any other axes and z is not already high enough (never lower z)
332
       // Raise Z before homing any other axes and z is not already high enough (never lower z)
333
       if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPAIR("Raise Z (before homing) by ", z_homing_height);
333
       if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPAIR("Raise Z (before homing) by ", z_homing_height);
334
       do_z_clearance(z_homing_height);
334
       do_z_clearance(z_homing_height);
335
+      TERN_(BLTOUCH, bltouch.init());
335
     }
336
     }
336
 
337
 
337
     #if ENABLED(QUICK_HOME)
338
     #if ENABLED(QUICK_HOME)
384
           stepper.set_separate_multi_axis(false);
385
           stepper.set_separate_multi_axis(false);
385
         #endif
386
         #endif
386
 
387
 
387
-        TERN_(BLTOUCH, bltouch.init());
388
         TERN(Z_SAFE_HOMING, home_z_safely(), homeaxis(Z_AXIS));
388
         TERN(Z_SAFE_HOMING, home_z_safely(), homeaxis(Z_AXIS));
389
         probe.move_z_after_homing();
389
         probe.move_z_after_homing();
390
       }
390
       }

Loading…
Cancel
Save