From b9e96d1b28eb5fa69f5c8e572e13695669354b23 Mon Sep 17 00:00:00 2001 From: Aki Date: Tue, 7 Jun 2022 16:54:43 +0200 Subject: Renamed internal common to config --- daemon/CMakeLists.txt | 2 +- daemon/src/daemon.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'daemon') 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 #include -#include +#include #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); -- cgit v1.1