mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2025-11-08 11:17:20 +00:00
Tidy up some C++ a little
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
This commit is contained in:
@@ -103,7 +103,7 @@ namespace EightBit {
|
||||
|
||||
virtual ~Device() = default;
|
||||
|
||||
[[nodiscard]] bool powered() noexcept { return raised(POWER()); }
|
||||
[[nodiscard]] bool powered() const noexcept { return raised(POWER()); }
|
||||
|
||||
DECLARE_PIN_INPUT(POWER)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user