Skip to content
Snippets Groups Projects
Commit 8e23e9b1 authored by Marcio Teixeira's avatar Marcio Teixeira Committed by Scott Lahteine
Browse files

Fix FIX_MOUNTED_PROBE compile error (#14393)

parent 07dac315
No related merge requests found
...@@ -39,8 +39,9 @@ ...@@ -39,8 +39,9 @@
#include "../../feature/tmc_util.h" #include "../../feature/tmc_util.h"
#endif #endif
#if HOMING_Z_WITH_PROBE || ENABLED(BLTOUCH) #if HAS_BED_PROBE
#include "../../module/probe.h" #include "../../module/probe.h"
#define STOW_PROBE_BEFORE_HOMING NONE(Z_PROBE_ALLEN_KEY, Z_PROBE_SLED)
#endif #endif
#include "../../lcd/ultralcd.h" #include "../../lcd/ultralcd.h"
...@@ -262,7 +263,7 @@ void GcodeSuite::G28(const bool always_home_all) { ...@@ -262,7 +263,7 @@ void GcodeSuite::G28(const bool always_home_all) {
set_destination_from_current(); set_destination_from_current();
#if HAS_BED_PROBE #if STOW_PROBE_BEFORE_HOMING
STOW_PROBE(); STOW_PROBE();
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment