diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-02-22 09:38:30 +0100 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-02-22 12:15:13 +0100 |
commit | cfd941effb1b2183f6d3f693496aadd45762523f (patch) | |
tree | 0d2f4ccfe90b166c55b828eba82698e3c1355f1f /src/can-signals.hpp | |
parent | 0658e683e23dacce2516ec2743cd53aabcee8fb8 (diff) |
Resolve circular header files inclusion
Change-Id: Ida3de058f1edd2892ebc858d1eb714471fd5f65c
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src/can-signals.hpp')
-rw-r--r-- | src/can-signals.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/can-signals.hpp b/src/can-signals.hpp index d6ec171..3772486 100644 --- a/src/can-signals.hpp +++ b/src/can-signals.hpp @@ -24,13 +24,14 @@ #include <linux/can.h> #include "can-utils.hpp" -#include "low-can-binding.hpp" extern "C" { #include <afb/afb-event-itf.h> } +#define MESSAGE_SET_ID 0 + /** * @brief Dumb SIGNALS array. It is composed by CanMessageSet * SIGNALS[MESSAGE_SET_ID][CanSignal] @@ -98,7 +99,7 @@ CanBus* getCanBuses(); * * return[std::vector<std::string>] return found CanSignal generic name vector. */ -std::vector<CanSignal> find_can_signals(const openxc_DynamicField &key); +std::vector<CanSignal> find_can_signals(const struct afb_binding_interface* interface, const openxc_DynamicField &key); uint32_t get_CanSignal_id(const CanSignal& sig) { |