Fix FIX_MOUNTED_PROBE compile error (#14393)

This commit is contained in:
Marcio Teixeira 2019-06-25 03:55:29 -06:00 committed by Scott Lahteine
parent 07dac315a9
commit 8e23e9b16c

View file

@ -39,8 +39,9 @@
#include "../../feature/tmc_util.h"
#endif
#if HOMING_Z_WITH_PROBE || ENABLED(BLTOUCH)
#if HAS_BED_PROBE
#include "../../module/probe.h"
#define STOW_PROBE_BEFORE_HOMING NONE(Z_PROBE_ALLEN_KEY, Z_PROBE_SLED)
#endif
#include "../../lcd/ultralcd.h"
@ -262,7 +263,7 @@ void GcodeSuite::G28(const bool always_home_all) {
set_destination_from_current();
#if HAS_BED_PROBE
#if STOW_PROBE_BEFORE_HOMING
STOW_PROBE();
#endif