From 315f4f47613fe09e613b6c639a7ddc37af3516d2 Mon Sep 17 00:00:00 2001 From: David Crocker Date: Sun, 16 Feb 2020 14:10:43 +0000 Subject: Replaced HeaterProtection instances by HeaterMonitors --- src/GPIO/GpioPorts.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/GPIO') diff --git a/src/GPIO/GpioPorts.h b/src/GPIO/GpioPorts.h index b8290c28..30d5a074 100644 --- a/src/GPIO/GpioPorts.h +++ b/src/GPIO/GpioPorts.h @@ -25,6 +25,7 @@ public: boardAddress (CanId::MasterAddress), #endif currentState(false) { } + GpInputPort(const GpInputPort&) = delete; bool GetState() const noexcept; bool IsUnused() const noexcept; @@ -50,9 +51,13 @@ private: class GpOutputPort { public: + GpOutputPort() noexcept #if SUPPORT_CAN_EXPANSION - GpOutputPort() noexcept { boardAddress = CanId::MasterAddress; } + : boardAddress(CanId::MasterAddress) #endif + { } + + GpOutputPort(const GpOutputPort&) = delete; GCodeResult WriteAnalog(uint32_t gpioPortNumber, bool isServo, float pwm, const GCodeBuffer& gb, const StringRef& reply) const noexcept; GCodeResult Configure(uint32_t gpioNumber, bool isServo, GCodeBuffer& gb, const StringRef& reply) THROWS(GCodeException); -- cgit v1.2.3