diff options
author | David Crocker <dcrocker@eschertech.com> | 2021-03-03 13:52:37 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2021-03-03 13:52:37 +0300 |
commit | f5b540bdca881d09fac7aecfbf4fefdbe0d48da0 (patch) | |
tree | 40c4c0bb32378ee33e53c251be74d4764d9df350 /src/Endstops/EndstopDefs.h | |
parent | 7a3045b53e3e303a988ce4565b2ac21206182ffb (diff) |
Got rid of "near endstop" status
Cherry picked from commit 165b178f7de75b1d00b26fec28f2a03fb36d6119
Diffstat (limited to 'src/Endstops/EndstopDefs.h')
-rw-r--r-- | src/Endstops/EndstopDefs.h | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/src/Endstops/EndstopDefs.h b/src/Endstops/EndstopDefs.h index 948bd957..74835705 100644 --- a/src/Endstops/EndstopDefs.h +++ b/src/Endstops/EndstopDefs.h @@ -19,10 +19,9 @@ class ZProbe; enum class EndstopHitAction : uint8_t { none = 0, // don't stop anything - reduceSpeed = 1, // reduce speed because an endstop or Z probe is close to triggering - stopDriver = 2, // stop a single motor driver - stopAxis = 3, // stop all drivers for an axis - stopAll = 4 // stop movement completely + stopDriver = 1, // stop a single motor driver + stopAxis = 2, // stop all drivers for an axis + stopAll = 3 // stop movement completely }; // Struct to return info about what endstop has been triggered and what to do about it @@ -64,15 +63,6 @@ NamedEnum numInputTypes ); -// This is used as the return type of function Stopped. -// Note the ordering: we need more-stopped-value > less-stopped-value -enum class EndStopHit -{ - noStop = 0, // no endstop hit - nearStop = 1, // approaching Z-probe threshold - atStop = 2 -}; - enum class ZProbeType : uint8_t { none = 0, |