summaryrefslogtreecommitdiffstats
path: root/led.hpp
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2018-05-05 18:35:39 +0200
committerNao Pross <naopross@thearcway.org>2018-05-05 18:35:39 +0200
commit7c6e90299de97b51f6ba17d1a50cedb824d0c82f (patch)
tree2a032bbec8a11e1b5f7a189ff2750936982576fc /led.hpp
parentFix split() (diff)
downloadSAMLiquidSmoke-7c6e90299de97b51f6ba17d1a50cedb824d0c82f.tar.gz
SAMLiquidSmoke-7c6e90299de97b51f6ba17d1a50cedb824d0c82f.zip
Add gpio::is_set() to read from _latch register, update command parsing
Diffstat (limited to 'led.hpp')
-rw-r--r--led.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/led.hpp b/led.hpp
index 30b7a7a..0e674bb 100644
--- a/led.hpp
+++ b/led.hpp
@@ -29,7 +29,7 @@ public:
color set_color() const;
void set(unsigned s);
- unsigned read() const;
+ unsigned is_set() const;
void toggle();
std::string to_string();