|
@@ -39,8 +39,9 @@
|
39
|
39
|
#include "../../feature/tmc_util.h"
|
40
|
40
|
#endif
|
41
|
41
|
|
42
|
|
-#if HOMING_Z_WITH_PROBE || ENABLED(BLTOUCH)
|
|
42
|
+#if HAS_BED_PROBE
|
43
|
43
|
#include "../../module/probe.h"
|
|
44
|
+ #define STOW_PROBE_BEFORE_HOMING NONE(Z_PROBE_ALLEN_KEY, Z_PROBE_SLED)
|
44
|
45
|
#endif
|
45
|
46
|
|
46
|
47
|
#include "../../lcd/ultralcd.h"
|
|
@@ -262,7 +263,7 @@ void GcodeSuite::G28(const bool always_home_all) {
|
262
|
263
|
|
263
|
264
|
set_destination_from_current();
|
264
|
265
|
|
265
|
|
- #if HAS_BED_PROBE
|
|
266
|
+ #if STOW_PROBE_BEFORE_HOMING
|
266
|
267
|
STOW_PROBE();
|
267
|
268
|
#endif
|
268
|
269
|
|