Update G34 for non-BLTouch probes (#14380)

2.0.x
BigIronGuru 6 years ago committed by Scott Lahteine
parent 5986194c36
commit 12d21e642f

@ -38,10 +38,6 @@
#include "../../module/probe.h" #include "../../module/probe.h"
#endif #endif
#if ENABLED(BLTOUCH)
#include "../../feature/bltouch.h"
#endif
#if HAS_LEVELING #if HAS_LEVELING
#include "../../feature/bedlevel/bedlevel.h" #include "../../feature/bedlevel/bedlevel.h"
#endif #endif
@ -279,11 +275,9 @@ void GcodeSuite::G34() {
// After this operation the z position needs correction // After this operation the z position needs correction
set_axis_is_not_at_home(Z_AXIS); set_axis_is_not_at_home(Z_AXIS);
#if BOTH(BLTOUCH, BLTOUCH_HS_MODE) // Stow the probe, as the last call to probe_pt(...) left
// In BLTOUCH HS mode, the pin is still deployed at this point. // the probe deployed if it was successful.
// The upcoming G28 means travel, so it is better to stow the pin. STOW_PROBE();
bltouch._stow();
#endif
// Home Z after the alignment procedure // Home Z after the alignment procedure
process_subcommands_now_P(PSTR("G28 Z")); process_subcommands_now_P(PSTR("G28 Z"));

Loading…
Cancel
Save