diff options
author | David Crocker <dcrocker@eschertech.com> | 2021-09-07 19:19:05 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2021-09-07 19:19:05 +0300 |
commit | 7bf5a07ed9ac5cf2084a103bb24725902a7ecf4e (patch) | |
tree | aea832e4f26173441e8ab020da1d3ba02c538d67 | |
parent | 8a84ba398149651fe014bfaae64c3e2fe79e7219 (diff) |
Resolved minor issues for eCv
-rw-r--r-- | src/DuetNG/DueXn.h | 2 | ||||
-rw-r--r-- | src/Endstops/EndstopsManager.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/DuetNG/DueXn.h b/src/DuetNG/DueXn.h index 07719ef5..5df6d5e0 100644 --- a/src/DuetNG/DueXn.h +++ b/src/DuetNG/DueXn.h @@ -32,6 +32,6 @@ namespace DuetExpansion void AnalogOut(Pin pin, float pwm) noexcept; // Set the PWM value on this pin uint16_t DiagnosticRead() noexcept; // Diagnose the SX1509 by setting all pins as inputs and reading them void Diagnostics(MessageType mtype) noexcept; // Print diagnostic data -}; +} #endif /* SRC_DUETNG_DUEXN_H_ */ diff --git a/src/Endstops/EndstopsManager.h b/src/Endstops/EndstopsManager.h index 0fbe43de..a8ac8c64 100644 --- a/src/Endstops/EndstopsManager.h +++ b/src/Endstops/EndstopsManager.h @@ -44,7 +44,7 @@ public: // Configure the endstops in response to M574 GCodeResult HandleM574(GCodeBuffer& gb, const StringRef& reply, OutputBuffer*& outbuf) THROWS(GCodeException); - EndStopPosition GetEndStopPosition(size_t axis) const pre(axis < MaxAxes) noexcept; + EndStopPosition GetEndStopPosition(size_t axis) const noexcept pre(axis < MaxAxes); bool HomingZWithProbe() const noexcept; bool Stopped(size_t axis) const noexcept; |