[2.0.x] Add Z_AFTER_PROBING option (#10058)
Some "fix-mounted" probes need manual stowing. And after probing some may prefer to raise or lower the nozzle. This restores an old option but tailors it to allow raise or lower as preferred.
This commit is contained in:
1 parent
dd19e74476
commit
28f1276286
70 files changed
+119
-10
No files matched your search
@@ -39,6 +39,10 @@
|
||||
#include "../../feature/tmc_util.h"
|
||||
#endif
|
||||
|
||||
#if HOMING_Z_WITH_PROBE
|
||||
#include "../../module/probe.h"
|
||||
#endif
|
||||
|
||||
#include "../../lcd/ultralcd.h"
|
||||
|
||||
#if ENABLED(QUICK_HOME)
|
||||
@@ -304,6 +308,9 @@ void GcodeSuite::G28(const bool always_home_all) {
|
||||
HOMEAXIS(Z);
|
||||
#endif
|
||||
} // home_all || homeZ
|
||||
#if HOMING_Z_WITH_PROBE
|
||||
move_z_after_probing();
|
||||
#endif
|
||||
#endif // Z_HOME_DIR < 0
|
||||
|
||||
SYNC_PLAN_POSITION_KINEMATIC();
|
||||
|
||||
Reference in new issue
Block a user