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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/can_reader.cpp b/src/can_reader.cpp
index aab47b6..a8c5cf6 100644
--- a/src/can_reader.cpp
+++ b/src/can_reader.cpp
@@ -30,6 +30,6 @@ void can_reader(can_bus_t &can_bus)
while(can_bus.is_running())
{
can_message.convert_from_canfd_frame(canbus.read());
- can_bus.insert_new_can_message(can_message);
+ can_bus.push_new_can_message(can_message);
}
} \ No newline at end of file