aboutsummaryrefslogtreecommitdiffstats
path: root/src/can-signals.hpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-02-22 09:38:30 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2017-02-22 12:15:13 +0100
commitcfd941effb1b2183f6d3f693496aadd45762523f (patch)
tree0d2f4ccfe90b166c55b828eba82698e3c1355f1f /src/can-signals.hpp
parent0658e683e23dacce2516ec2743cd53aabcee8fb8 (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.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/can-signals.hpp b/src/can-signals.hpp
index d6ec171a..37724867 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)
{