ldursw
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
Marlin/src/gcode/calibrate/G28.cpp
|
|
@ -332,6 +332,7 @@ void GcodeSuite::G28() { |
|
|
|
// Raise Z before homing any other axes and z is not already high enough (never lower z)
|
|
|
|
if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPAIR("Raise Z (before homing) by ", z_homing_height); |
|
|
|
do_z_clearance(z_homing_height); |
|
|
|
TERN_(BLTOUCH, bltouch.init()); |
|
|
|
} |
|
|
|
|
|
|
|
#if ENABLED(QUICK_HOME) |
|
|
@ -384,7 +385,6 @@ void GcodeSuite::G28() { |
|
|
|
stepper.set_separate_multi_axis(false); |
|
|
|
#endif |
|
|
|
|
|
|
|
TERN_(BLTOUCH, bltouch.init()); |
|
|
|
TERN(Z_SAFE_HOMING, home_z_safely(), homeaxis(Z_AXIS)); |
|
|
|
probe.move_z_after_homing(); |
|
|
|
} |
|
|
|