summaryrefslogtreecommitdiffstats
path: root/src/can-utils.hpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-02-27 22:23:34 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2017-02-27 22:23:34 +0100
commit71c5498ffe56fae70fe765e853c9390eb2d2071d (patch)
tree152f6d68bc9383774bedd150416e7861287dabf6 /src/can-utils.hpp
parentacd0f2b7940d008fac0c4351dc9c591062d23bf7 (diff)
Fix decoder_t methods to get it compile
Change-Id: I283480bf434b00ade15bcb1dbc9d097c338caab4 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src/can-utils.hpp')
-rw-r--r--src/can-utils.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/can-utils.hpp b/src/can-utils.hpp
index 50d5eb99..29a41f26 100644
--- a/src/can-utils.hpp
+++ b/src/can-utils.hpp
@@ -52,8 +52,8 @@
*
* @return a decoded value in an openxc_DynamicField struct.
*/
-typedef openxc_DynamicField (*SignalDecoder)(const struct CanSignal& signal,
- const CanSignal& signals, float value, bool* send);
+typedef openxc_DynamicField (*SignalDecoder)(struct CanSignal& signal,
+ const std::vector<CanSignal>& signals, float value, bool* send);
/**
* @brief: The type signature for a CAN signal encoder.