summaryrefslogtreecommitdiff
path: root/daemon
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-06-07 16:54:43 +0200
committerAki <please@ignore.pl>2022-06-07 16:54:43 +0200
commitb9e96d1b28eb5fa69f5c8e572e13695669354b23 (patch)
tree8f47178c46048b77d22fa4b0d92762a53f911c65 /daemon
parentbf0ff8b3ae273ba52a79ff3952cf103f5ed131e3 (diff)
downloadhwd-b9e96d1b28eb5fa69f5c8e572e13695669354b23.zip
hwd-b9e96d1b28eb5fa69f5c8e572e13695669354b23.tar.gz
hwd-b9e96d1b28eb5fa69f5c8e572e13695669354b23.tar.bz2
Renamed internal common to config
Diffstat (limited to 'daemon')
-rw-r--r--daemon/CMakeLists.txt2
-rw-r--r--daemon/src/daemon.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/daemon/CMakeLists.txt b/daemon/CMakeLists.txt
index 6a01e15..2f4c259 100644
--- a/daemon/CMakeLists.txt
+++ b/daemon/CMakeLists.txt
@@ -9,7 +9,7 @@ add_executable(${PROJECT_NAME}
target_link_libraries(${PROJECT_NAME}
PRIVATE rpclib::rpc
PRIVATE Threads::Threads
- PRIVATE common
+ PRIVATE config
)
set_target_properties(${PROJECT_NAME}
PROPERTIES OUTPUT_NAME hwd
diff --git a/daemon/src/daemon.cpp b/daemon/src/daemon.cpp
index 1b9dcab..aa34757 100644
--- a/daemon/src/daemon.cpp
+++ b/daemon/src/daemon.cpp
@@ -1,7 +1,7 @@
#include <rpc/server.h>
#include <rpc/this_server.h>
-#include <hwd/internal.h>
+#include <hwd/config.h>
#include "Assembly.h"
#include "Gpio.h"
@@ -16,7 +16,7 @@ static Sinewave sinewave;
int main(int, char **)
{
- rpc::server server(hwd::internal::port());
+ rpc::server server(hwd::config::port());
Assembly assembly {server};
assembly.add("gpio", gpio);
assembly.add("memory", memory);