parent
a74cece6d0
commit
b3deadd898
1 changed files with 9 additions and 2 deletions
|
@ -374,8 +374,15 @@ bool set_probe_deployed(const bool deploy) {
|
||||||
|
|
||||||
if (endstops.z_probe_enabled == deploy) return false;
|
if (endstops.z_probe_enabled == deploy) return false;
|
||||||
|
|
||||||
// Make room for probe
|
// Fix-mounted probe should only raise for deploy
|
||||||
do_probe_raise(_Z_CLEARANCE_DEPLOY_PROBE);
|
#if ENABLED(FIX_MOUNTED_PROBE)
|
||||||
|
#define RAISE_COND deploy
|
||||||
|
#else
|
||||||
|
#define RAISE_COND true
|
||||||
|
#endif
|
||||||
|
|
||||||
|
// Make room for probe to deploy (or stow)
|
||||||
|
if (RAISE_COND) do_probe_raise(_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)
|
||||||
|
|
Reference in a new issue