diff options
Diffstat (limited to 'daemon/src/Gpio.cpp')
-rw-r--r-- | daemon/src/Gpio.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/daemon/src/Gpio.cpp b/daemon/src/Gpio.cpp index 75d2ff1..138bce7 100644 --- a/daemon/src/Gpio.cpp +++ b/daemon/src/Gpio.cpp @@ -7,6 +7,12 @@ #include "Assembly.h" +Gpio::Gpio() noexcept : + mode_of {}, + value_of {} +{} + + void Gpio::apply(AssemblyContext ctx) { ctx.bind("/set_mode", [&](const unsigned port, const short mode){ set_mode(port, mode); }); |