[2.0.x] stow bltouch before start homing (#10987)

This commit is contained in:
Giuliano 2018-06-10 23:27:14 +02:00 committed by Scott Lahteine
parent ae15c5af88
commit f1cdfe3dfd

View File

@ -39,7 +39,7 @@
#include "../../feature/tmc_util.h" #include "../../feature/tmc_util.h"
#endif #endif
#if HOMING_Z_WITH_PROBE #if HOMING_Z_WITH_PROBE || ENABLED(BLTOUCH)
#include "../../module/probe.h" #include "../../module/probe.h"
#endif #endif
@ -190,6 +190,10 @@ void GcodeSuite::G28(const bool always_home_all) {
workspace_plane = PLANE_XY; workspace_plane = PLANE_XY;
#endif #endif
#if ENABLED(BLTOUCH)
set_bltouch_deployed(false);
#endif
// Always home with tool 0 active // Always home with tool 0 active
#if HOTENDS > 1 #if HOTENDS > 1
#if DISABLED(DELTA) || ENABLED(DELTA_HOME_TO_SAFE_ZONE) #if DISABLED(DELTA) || ENABLED(DELTA_HOME_TO_SAFE_ZONE)