[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:
Scott Lahteine authored and GitHub committed 2018-03-11 13:07:55 -05:00
1 parent dd19e74476
commit 28f1276286
70 files changed
+119 -10

No files matched your search

+7
View File
@@ -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();