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-11-06 16:31:18 +0300
committerDavid Crocker <dcrocker@eschertech.com>2021-11-06 16:31:18 +0300
commiteebd32c8f7e40aaaef055e86eccbe166c741a70c (patch)
treeb678c2e7ed1d52d2f4265175db4d00ea8e158537 /src/Platform/Platform.h
parent0feb1388fdc29c09e1183203a142f7f01a6a6c14 (diff)
Removed default PS_ON (still version 3.4.0beta6)3.4.0beta6
Diffstat (limited to 'src/Platform/Platform.h')
-rw-r--r--src/Platform/Platform.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Platform/Platform.h b/src/Platform/Platform.h
index a3f8b7c3..c6c7ae77 100644
--- a/src/Platform/Platform.h
+++ b/src/Platform/Platform.h
@@ -331,7 +331,7 @@ public:
GCodeResult HandleM80(GCodeBuffer& gb, const StringRef& reply) THROWS(GCodeException);
GCodeResult HandleM81(GCodeBuffer& gb, const StringRef& reply) THROWS(GCodeException);
void AtxPowerOff() noexcept;
- bool IsAtxPowerControlled() const noexcept { return atxPowerControlled; }
+ bool IsAtxPowerControlled() const noexcept { return PsOnPort.IsValid(); }
const IoPort& GetAtxPowerPort() const noexcept { return PsOnPort; }
BoardType GetBoardType() const noexcept { return board; }
@@ -885,7 +885,6 @@ private:
// Power on/off
IoPort PsOnPort;
- bool atxPowerControlled;
bool deferredPowerDown;
// Misc