diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/can-bus.cpp | 2 | ||||
-rw-r--r-- | src/can-message.cpp | 1 |
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_); |