summaryrefslogtreecommitdiffstats
path: root/can_decoder.cpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-02-11 19:58:04 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2017-02-13 23:31:56 +0000
commit97bf55de6cd4fb832f98a670a5ac37ffb0a78b8a (patch)
tree5c81d1eb84843367504b4438eb51dd118fbc1b33 /can_decoder.cpp
parentcba316f0aa72b3de846814495671df6ecb226028 (diff)
Fix wrong arguments type
Reader is almost finish i think now Change-Id: Ib4c7c88b430ada2661e6ce2a67dde76d03dba2f1 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'can_decoder.cpp')
-rw-r--r--can_decoder.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/can_decoder.cpp b/can_decoder.cpp
index ae1b693..74694c9 100644
--- a/can_decoder.cpp
+++ b/can_decoder.cpp
@@ -22,7 +22,10 @@
#include <afb/afb-binding.h>
-void decode_can_message(afb_binding_interface *interface, std::queue <canfd_frame>& canfd_frame_queue, std::queue <openxc_can_message_type>& can_message_queue)
+#include "can-utils.h"
+#include "openxc.pb.h"
+
+void decode_can_message(afb_binding_interface *interface, std::queue <CanMessage_t>& can_message_q, std::queue <openxc_VehicleMessage>& VehicleMessage_q)
{
canfd_frame canfd_frame;