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/GCodes/GCodeMachineState.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/GCodes/GCodeMachineState.h')
-rw-r--r-- | src/GCodes/GCodeMachineState.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/GCodes/GCodeMachineState.h b/src/GCodes/GCodeMachineState.h index 2ddc96d6..11510b1c 100644 --- a/src/GCodes/GCodeMachineState.h +++ b/src/GCodes/GCodeMachineState.h @@ -27,9 +27,13 @@ enum class GCodeState : uint8_t probingToolOffset, - findCenterOfCavityMin, - findCenterOfCavityR, - findCenterOfCavityMax, + // These next 7 must be contiguous + findCenterOfCavity1, + findCenterOfCavity2, + findCenterOfCavity3, + findCenterOfCavity4, + findCenterOfCavity5, + findCenterOfCavity6, homing1, homing2, |