diff options
author | David Crocker <dcrocker@eschertech.com> | 2021-03-12 19:26:58 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2021-03-12 19:26:58 +0300 |
commit | 2c74f0e033d7194013d3a3a0818660051f5cf148 (patch) | |
tree | a29eff1b9c41a1e84c8a27cc2c9565b4cb6aafe9 /src/Endstops/ZProbeEndstop.cpp | |
parent | 6052f634c26fffe37b25fade21f138acdecc36f4 (diff) |
Rewrote M675 to fix numerous issues
M675 didn't deploy/retract probe or turn off heaters if configured
M675 had no error handling for probe aready triggered/not triggered
M675 didn't work consistently
M675 now accepts parameter K in place of P and requires either K or P
Also changed DeployZProbe to default to deployprobe.g only if
deployprobe0.g is not found, not for other Z probes. Similarly for
retractprobe.g.
Refactored code to set axis lengths mafter a G1 H3 move
Moved StraightProbeSettings from the Move module (which didn't use them)
to GCodes
Removed unused goingSlow parameter from endstop CheckTriggered functions
Diffstat (limited to 'src/Endstops/ZProbeEndstop.cpp')
-rw-r--r-- | src/Endstops/ZProbeEndstop.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Endstops/ZProbeEndstop.cpp b/src/Endstops/ZProbeEndstop.cpp index 816f6e3b..9e686e98 100644 --- a/src/Endstops/ZProbeEndstop.cpp +++ b/src/Endstops/ZProbeEndstop.cpp @@ -38,7 +38,7 @@ bool ZProbeEndstop::Prime(const Kinematics& kin, const AxisDriversConfig& axisDr } // Check whether the endstop is triggered and return the action that should be performed. Called from the step ISR. -EndstopHitDetails ZProbeEndstop::CheckTriggered(bool goingSlow) noexcept +EndstopHitDetails ZProbeEndstop::CheckTriggered() noexcept { EndstopHitDetails rslt; // initialised by default constructor if (Stopped()) |