diff options
author | David Crocker <dcrocker@eschertech.com> | 2021-11-06 16:31:18 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2021-11-06 16:31:18 +0300 |
commit | eebd32c8f7e40aaaef055e86eccbe166c741a70c (patch) | |
tree | b678c2e7ed1d52d2f4265175db4d00ea8e158537 /src/Platform/Platform.h | |
parent | 0feb1388fdc29c09e1183203a142f7f01a6a6c14 (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.h | 3 |
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 |