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/Endstop.h | |
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/Endstop.h')
-rw-r--r-- | src/Endstops/Endstop.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Endstops/Endstop.h b/src/Endstops/Endstop.h index 0bdc7649..cbdcf15e 100644 --- a/src/Endstops/Endstop.h +++ b/src/Endstops/Endstop.h @@ -30,7 +30,7 @@ public: virtual ~EndstopOrZProbe() noexcept {} virtual bool Stopped() const noexcept = 0; - virtual EndstopHitDetails CheckTriggered(bool goingSlow) noexcept = 0; + virtual EndstopHitDetails CheckTriggered() noexcept = 0; virtual bool Acknowledge(EndstopHitDetails what) noexcept = 0; EndstopOrZProbe *GetNext() const noexcept { return next; } |