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
path: root/src/GPIO
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2020-02-16 17:10:43 +0300
committerDavid Crocker <dcrocker@eschertech.com>2020-02-16 17:10:43 +0300
commit315f4f47613fe09e613b6c639a7ddc37af3516d2 (patch)
tree45133ce063bf3bb2c40f522471f0074038168149 /src/GPIO
parent9885ed7cc55cb19fde1be14c8adfd11dfa7f86cf (diff)
Replaced HeaterProtection instances by HeaterMonitors
Diffstat (limited to 'src/GPIO')
-rw-r--r--src/GPIO/GpioPorts.h7
1 files changed, 6 insertions, 1 deletions
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);