summaryrefslogtreecommitdiffstats
path: root/src/can_reader.cpp
diff options
context:
space:
mode:
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())
{