summaryrefslogtreecommitdiffstats
path: root/src/can_reader.cpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-02-20 20:19:59 +0000
committerRomain Forlot <romain.forlot@iot.bzh>2017-02-21 10:59:27 +0000
commitcba9b59fab054d3a33a4d58ed227fc3d4b6f6d9d (patch)
treebc504f0955794d17453a4e4e4717c7b108b5cffe /src/can_reader.cpp
parent4bcb47864452b2d219572862aed3d173c3c0a945 (diff)
Clean up include statement...
Change-Id: Ie909836171ea5eb030246255bb08f1c5b8a65641 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src/can_reader.cpp')
-rw-r--r--src/can_reader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/can_reader.cpp b/src/can_reader.cpp
index c8891eec..b8ada8d2 100644
--- a/src/can_reader.cpp
+++ b/src/can_reader.cpp
@@ -18,13 +18,13 @@
#include "low-can-binding.hpp"
-void can_reader(can_bus_t &can_bus)
+void can_reader(can_bus__dev_t &can_bus)
{
can_message_t can_message;
while(can_bus.is_running())
{
- can_message.convert_from_canfd_frame(canbus.read());
+ can_message.convert_from_canfd_frame(can_bus.read(interface));
can_bus.push_new_can_message(can_message);
}
} \ No newline at end of file