diff options
-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; |