diff options
author | Aki <please@ignore.pl> | 2021-10-16 14:39:18 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2021-10-16 14:39:18 +0200 |
commit | e811b2f7a084ee34e37b6eb79b9dc2f14d9d1dac (patch) | |
tree | d1abd73302bba47e97bf98debd20d263a2447556 /daemon/src/daemon.cpp | |
parent | f68fb3b96b593f56ec70ad17f216fe3aedbc020d (diff) | |
download | hwd-e811b2f7a084ee34e37b6eb79b9dc2f14d9d1dac.zip hwd-e811b2f7a084ee34e37b6eb79b9dc2f14d9d1dac.tar.gz hwd-e811b2f7a084ee34e37b6eb79b9dc2f14d9d1dac.tar.bz2 |
Added Gpio and Assembly stubs
Diffstat (limited to 'daemon/src/daemon.cpp')
-rw-r--r-- | daemon/src/daemon.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/daemon/src/daemon.cpp b/daemon/src/daemon.cpp index 352218d..99da92c 100644 --- a/daemon/src/daemon.cpp +++ b/daemon/src/daemon.cpp @@ -3,9 +3,16 @@ #include <hwd/internal.h> +#include "Assembly.h" +#include "Gpio.h" + + int main(int, char **) { rpc::server server(hwd::internal::default_port); + Assembly assembly {server}; + Gpio gpio; + assembly.add("gpio", gpio); server.bind("stop_server", []{ rpc::this_server().stop(); }); |