Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2021-03-03 13:52:37 +0300
committerDavid Crocker <dcrocker@eschertech.com>2021-03-03 13:52:37 +0300
commitf5b540bdca881d09fac7aecfbf4fefdbe0d48da0 (patch)
tree40c4c0bb32378ee33e53c251be74d4764d9df350 /src/RepRap.cpp
parent7a3045b53e3e303a988ce4565b2ac21206182ffb (diff)
Got rid of "near endstop" status
Cherry picked from commit 165b178f7de75b1d00b26fec28f2a03fb36d6119
Diffstat (limited to 'src/RepRap.cpp')
-rw-r--r--src/RepRap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/RepRap.cpp b/src/RepRap.cpp
index b6bf0d83..9ba74647 100644
--- a/src/RepRap.cpp
+++ b/src/RepRap.cpp
@@ -1606,7 +1606,7 @@ OutputBuffer *RepRap::GetStatusResponse(uint8_t type, ResponseSource source) con
const size_t numTotalAxes = gCodes->GetTotalAxes();
for (size_t axis = 0; axis < numTotalAxes; axis++)
{
- if (platform->GetEndstops().Stopped(axis) == EndStopHit::atStop)
+ if (platform->GetEndstops().Stopped(axis))
{
endstops |= (1u << axis);
}