diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-05-05 18:31:41 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-05-05 18:31:41 +0200 |
commit | 692376f019562e48ddef074b427f2397cae25087 (patch) | |
tree | 7c5ba2532b021c9b822676af19dd28a63b7691ab /CAN-binder/low-can-binding/can | |
parent | e49eed2b1fffced9f5f8d2b997bb6b987cf208f3 (diff) |
Separation between hat and callback binding parts
As well as handling reading signals BCM socket using systemd event loop.
Change-Id: I1e121635ec5db489b2bcb88a3101e716bf8883d5
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'CAN-binder/low-can-binding/can')
-rw-r--r-- | CAN-binder/low-can-binding/can/can-bus-dev.cpp | 4 | ||||
-rw-r--r-- | CAN-binder/low-can-binding/can/can-bus.hpp | 2 | ||||
-rw-r--r-- | CAN-binder/low-can-binding/can/can-decoder.cpp | 2 | ||||
-rw-r--r-- | CAN-binder/low-can-binding/can/can-message.cpp | 2 |
4 files changed, 4 insertions, 6 deletions
diff --git a/CAN-binder/low-can-binding/can/can-bus-dev.cpp b/CAN-binder/low-can-binding/can/can-bus-dev.cpp index 7155a72d..bc6f8583 100644 --- a/CAN-binder/low-can-binding/can/can-bus-dev.cpp +++ b/CAN-binder/low-can-binding/can/can-bus-dev.cpp @@ -24,9 +24,7 @@ #include "can-bus.hpp" #include "can-message.hpp" -#include "../binding/low-can-binding.hpp" -#include "canutil/write.h" -#include "bitfield/bitfield.h" +#include "../binding/low-can-hat.hpp" /// @brief Class constructor /// diff --git a/CAN-binder/low-can-binding/can/can-bus.hpp b/CAN-binder/low-can-binding/can/can-bus.hpp index 3fcc29fc..f6a3745e 100644 --- a/CAN-binder/low-can-binding/can/can-bus.hpp +++ b/CAN-binder/low-can-binding/can/can-bus.hpp @@ -30,7 +30,7 @@ #include "can-signals.hpp" #include "../utils/config-parser.hpp" #include "../diagnostic/diagnostic-manager.hpp" -#include "../binding/low-can-binding.hpp" +#include "../binding/low-can-hat.hpp" // TODO actual max is 32 but dropped to 24 for memory considerations #define MAX_ACCEPTANCE_FILTERS 24 diff --git a/CAN-binder/low-can-binding/can/can-decoder.cpp b/CAN-binder/low-can-binding/can/can-decoder.cpp index 9a381113..f36c4b94 100644 --- a/CAN-binder/low-can-binding/can/can-decoder.cpp +++ b/CAN-binder/low-can-binding/can/can-decoder.cpp @@ -20,7 +20,7 @@ #include "canutil/read.h" #include "../utils/openxc-utils.hpp" -#include "../binding/low-can-binding.hpp" +#include "../binding/low-can-hat.hpp" /// @brief Parse the signal's bitfield from the given data and return the raw /// value. diff --git a/CAN-binder/low-can-binding/can/can-message.cpp b/CAN-binder/low-can-binding/can/can-message.cpp index b6e4458b..ac2610e5 100644 --- a/CAN-binder/low-can-binding/can/can-message.cpp +++ b/CAN-binder/low-can-binding/can/can-message.cpp @@ -19,7 +19,7 @@ #include <cstring> -#include "../binding/low-can-binding.hpp" +#include "../binding/low-can-hat.hpp" /// /// @brief Class constructor |