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/StallDetectionEndstop.cpp | |
parent | 7a3045b53e3e303a988ce4565b2ac21206182ffb (diff) |
Got rid of "near endstop" status
Cherry picked from commit 165b178f7de75b1d00b26fec28f2a03fb36d6119
Diffstat (limited to 'src/Endstops/StallDetectionEndstop.cpp')
-rw-r--r-- | src/Endstops/StallDetectionEndstop.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Endstops/StallDetectionEndstop.cpp b/src/Endstops/StallDetectionEndstop.cpp index 89112829..987c6b48 100644 --- a/src/Endstops/StallDetectionEndstop.cpp +++ b/src/Endstops/StallDetectionEndstop.cpp @@ -24,9 +24,9 @@ StallDetectionEndstop::StallDetectionEndstop() noexcept } // Test whether we are at or near the stop -EndStopHit StallDetectionEndstop::Stopped() const noexcept +bool StallDetectionEndstop::Stopped() const noexcept { - return (GetStalledDrivers(driversMonitored).IsNonEmpty()) ? EndStopHit::atStop : EndStopHit::noStop; + return GetStalledDrivers(driversMonitored).IsNonEmpty(); } // This is called to prime axis endstops |