diff options
Diffstat (limited to 'library/src/gpio.cpp')
-rw-r--r-- | library/src/gpio.cpp | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/library/src/gpio.cpp b/library/src/gpio.cpp index 18c3cff..e31a845 100644 --- a/library/src/gpio.cpp +++ b/library/src/gpio.cpp @@ -1,16 +1,10 @@ -#include <rpc/client.h> +#include "hwd.h" -#include <hwd/internal.h> +#include "client.h" -namespace hwd -{ -static rpc::client & get_client() +namespace hwd { - static rpc::client c(hwd::internal::host(), hwd::internal::port()); - return c; -} - namespace gpio { @@ -30,5 +24,4 @@ short read(const unsigned port) } } // namespace gpio - } // namespace hwd |