summaryrefslogtreecommitdiffstats
path: root/src/can_decode_message.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/can_decode_message.cpp')
-rw-r--r--src/can_decode_message.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/can_decode_message.cpp b/src/can_decode_message.cpp
index 8b087cfc..8fadbdb6 100644
--- a/src/can_decode_message.cpp
+++ b/src/can_decode_message.cpp
@@ -20,7 +20,7 @@
void can_decode_message(can_bus_t &can_bus)
{
- can_message_t can_message(can_bus.interface_) ;
+ can_message_t can_message;
std::vector <CanSignal> signals;
std::vector <CanSignal>::iterator signals_i;
openxc_VehicleMessage vehicle_message;
@@ -35,7 +35,7 @@ void can_decode_message(can_bus_t &can_bus)
/* First we have to found which CanSignal is */
search_key = build_DynamicField((double)can_message.get_id());
- signals = find_can_signals(can_bus.interface_, search_key);
+ signals = find_can_signals(search_key);
/* Decoding the message ! Don't kill the messenger ! */
for(const auto& sig : signals)