summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-03-01 09:20:46 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2017-03-01 09:20:46 +0100
commitaec4c67e6d927183e0c29f2f5fccb269cdaff932 (patch)
tree0258f13521f4a66fbd24cec0d52f88ecba2b95a6 /src
parent65d08bdea23d81c5d639ab9fac428ccd87673c8d (diff)
Delete for good obsolete code
Change-Id: Ic56fadcc7e6265072e4e3413f914b735b56e903d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src')
-rw-r--r--src/can-bus.cpp2
-rw-r--r--src/can-message.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/can-bus.cpp b/src/can-bus.cpp
index 355997f..672e95e 100644
--- a/src/can-bus.cpp
+++ b/src/can-bus.cpp
@@ -390,7 +390,7 @@ canfd_frame can_bus_dev_t::read()
is_running_ = false;
break;
}
-
+
return canfd_frame;
}
diff --git a/src/can-message.cpp b/src/can-message.cpp
index f9ec6b2..d40dbc4 100644
--- a/src/can-message.cpp
+++ b/src/can-message.cpp
@@ -119,6 +119,7 @@ void can_message_t::convert_from_canfd_frame(const canfd_frame& frame)
id_ = frame.can_id & CAN_SFF_MASK;
format_ = CanMessageFormat::STANDARD;
}
+ DEBUG(binder_interface, "");
if (sizeof(frame.data) <= sizeof(data_))
::memcpy(&data_, frame.data, length_);