Probe Tare, Probe Activation Switch (#20379)

Co-authored-by: Scott Lahteine <github@thinkyhead.com>
Co-authored-by: Victor Mateus Oliveira <rhapsodyv@gmail.com>
Co-authored-by: Jason Smith <jason.inet@gmail.com>
This commit is contained in:
InsanityAutomation
2020-12-19 23:11:43 -05:00
committed by GitHub
parent 7a168205eb
commit 2963229dfa
9 changed files with 108 additions and 7 deletions

View File

@ -1589,8 +1589,11 @@ void homeaxis(const AxisEnum axis) {
// Fast move towards endstop until triggered
if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPGM("Home 1 Fast:");
#if BOTH(HOMING_Z_WITH_PROBE, BLTOUCH)
if (axis == Z_AXIS && bltouch.deploy()) return; // The initial DEPLOY
#if HOMING_Z_WITH_PROBE
if (axis == Z_AXIS) {
if (TERN0(BLTOUCH, bltouch.deploy())) return;
if (TERN0(PROBE_TARE, probe.tare())) return;
}
#endif
#if DISABLED(DELTA) && defined(SENSORLESS_BACKOFF_MM)