diff options
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(); }); |