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/Endstops/EndstopsManager.h
parent7a3045b53e3e303a988ce4565b2ac21206182ffb (diff)
Got rid of "near endstop" status
Cherry picked from commit 165b178f7de75b1d00b26fec28f2a03fb36d6119
Diffstat (limited to 'src/Endstops/EndstopsManager.h')
-rw-r--r--src/Endstops/EndstopsManager.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Endstops/EndstopsManager.h b/src/Endstops/EndstopsManager.h
index 10c09388..c3ce99a8 100644
--- a/src/Endstops/EndstopsManager.h
+++ b/src/Endstops/EndstopsManager.h
@@ -48,7 +48,7 @@ public:
EndStopPosition GetEndStopPosition(size_t axis) const pre(axis < MaxAxes) noexcept;
bool HomingZWithProbe() const noexcept;
- EndStopHit Stopped(size_t axis) const noexcept;
+ bool Stopped(size_t axis) const noexcept;
void GetM119report(const StringRef& reply) noexcept;
@@ -90,7 +90,7 @@ private:
#endif
// Translate end stop result to text
- static const char *TranslateEndStopResult(EndStopHit es, bool atHighEnd) noexcept;
+ static const char *TranslateEndStopResult(bool hit, bool atHighEnd) noexcept;
ReadLockedPointer<Endstop> FindEndstop(size_t axis) const noexcept;