summaryrefslogtreecommitdiffstats
path: root/src/can_reader.cpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-02-21 10:54:38 +0000
committerRomain Forlot <romain.forlot@iot.bzh>2017-02-21 11:00:03 +0000
commit94d2332db42c506a275a71f6741a8cddfa9c0d6f (patch)
tree0d639bbebca88bcbf329bc0de9d538d924ae3890 /src/can_reader.cpp
parent913ac4ead2a8140db8607cef8b216ca997b8401e (diff)
Multifixes: class and methods, typo, comments
Change-Id: I473de66a9d4119ce64c04bd7fa59654774ac3b8f 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 b8ada8d2..418e2929 100644
--- a/src/can_reader.cpp
+++ b/src/can_reader.cpp
@@ -18,9 +18,9 @@
#include "low-can-binding.hpp"
-void can_reader(can_bus__dev_t &can_bus)
+void can_reader(can_bus_dev_t &can_bus)
{
- can_message_t can_message;
+ can_message_t can_message(interface);
while(can_bus.is_running())
{