summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-03-09 02:35:28 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2017-03-16 17:10:40 +0100
commit8aa3acb280c213244fb372443ab59dfa69bed03e (patch)
tree9bb354084f5474a1d7d710ad4809bd8b4dd5a429 /src
parent8a7cb7bc50d7e964318c53222d30b939c9866eef (diff)
Fix: include path (where I think to fix them...)
Change-Id: Ib44693efc9347fc4fdf40a1748725d5191303199 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src')
-rw-r--r--src/can/can-signals.cpp13
-rw-r--r--src/diagnostic/diagnostic-message.cpp5
-rw-r--r--src/utils/signals.cpp2
-rw-r--r--src/utils/signals.hpp8
4 files changed, 15 insertions, 13 deletions
diff --git a/src/can/can-signals.cpp b/src/can/can-signals.cpp
index af7376b..a2c6ae7 100644
--- a/src/can/can-signals.cpp
+++ b/src/can/can-signals.cpp
@@ -15,14 +15,15 @@
* limitations under the License.
*/
-#include "can/can-signals.hpp"
-
#include <fnmatch.h>
-#include "utils/signals.hpp"
-#include "can/can-decoder.hpp"
-#include "obd2/obd2-signals.hpp"
-#include "low-can-binding.hpp"
+#include "can-signals.hpp"
+
+#include "../configuration.hpp"
+#include "../utils/signals.hpp"
+#include "can-decoder.hpp"
+#include "../obd2/obd2-signals.hpp"
+#include "../low-can-binding.hpp"
can_message_definition_t& can_signal_t::get_message()
{
diff --git a/src/diagnostic/diagnostic-message.cpp b/src/diagnostic/diagnostic-message.cpp
index 247917b..bd5d0ec 100644
--- a/src/diagnostic/diagnostic-message.cpp
+++ b/src/diagnostic/diagnostic-message.cpp
@@ -15,9 +15,10 @@
* limitations under the License.
*/
-#include "obd2/obd2-signals.hpp"
+#include "obd2-signals.hpp"
-#include "utils/signals.hpp"
+#include "../configuration.hpp"
+#include "../utils/signals.hpp"
const char *UNIT_NAMES[10] = {
"POURCENT",
diff --git a/src/utils/signals.cpp b/src/utils/signals.cpp
index 6f8847c..e65d35e 100644
--- a/src/utils/signals.cpp
+++ b/src/utils/signals.cpp
@@ -15,7 +15,7 @@
* limitations under the License.
*/
-#include "utils/signals.hpp"
+#include "signals.hpp"
/**
* @brief Can signal event map making access to afb_event
diff --git a/src/utils/signals.hpp b/src/utils/signals.hpp
index 6665bb7..db3a401 100644
--- a/src/utils/signals.hpp
+++ b/src/utils/signals.hpp
@@ -22,11 +22,11 @@
#include <fnmatch.h>
#include "openxc.pb.h"
-#include "configuration.hpp"
-#include "can/can-signals.hpp"
-#include "obd2/obd2-signals.hpp"
+#include "../configuration.hpp"
+#include "../can/can-signals.hpp"
+#include "../obd2/obd2-signals.hpp"
-#include "low-can-binding.hpp"
+#include "../low-can-binding.hpp"
extern std::mutex subscribed_signals_mutex;
std::mutex& get_subscribed_signals_mutex();