@ -378,13 +378,21 @@ bool set_probe_deployed(const bool deploy) {
// Make room for probe to deploy (or stow)
// Make room for probe to deploy (or stow)
// Fix-mounted probe should only raise for deploy
// Fix-mounted probe should only raise for deploy
if (
# if ENABLED(FIX_MOUNTED_PROBE)
# if ENABLED(FIX_MOUNTED_PROBE)
deploy
const bool deploy _stow_condition = deploy ;
# else
# else
true
constexpr bool deploy_stow_condition = true ;
# endif
# endif
) do_probe_raise ( max ( Z_CLEARANCE_BETWEEN_PROBES , Z_CLEARANCE_DEPLOY_PROBE ) ) ;
// For beds that fall when Z is powered off only raise for trusted Z
# if ENABLED(UNKNOWN_Z_NO_RAISE)
const bool unknown_condition = axis_known_position [ Z_AXIS ] ;
# else
constexpr float unknown_condition = true ;
# endif
if ( deploy_stow_condition & & unknown_condition )
do_probe_raise ( max ( Z_CLEARANCE_BETWEEN_PROBES , Z_CLEARANCE_DEPLOY_PROBE ) ) ;
# if ENABLED(Z_PROBE_SLED) || ENABLED(Z_PROBE_ALLEN_KEY)
# if ENABLED(Z_PROBE_SLED) || ENABLED(Z_PROBE_ALLEN_KEY)
# if ENABLED(Z_PROBE_SLED)
# if ENABLED(Z_PROBE_SLED)