diff options
Diffstat (limited to 'src/RepRap.cpp')
-rw-r--r-- | src/RepRap.cpp | 2 |
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); } |