summaryrefslogtreecommitdiffstats
path: root/src/can/can-message.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/can/can-message.cpp')
-rw-r--r--src/can/can-message.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/can/can-message.cpp b/src/can/can-message.cpp
index dd15c06f..0053ef46 100644
--- a/src/can/can-message.cpp
+++ b/src/can/can-message.cpp
@@ -259,8 +259,8 @@ canfd_frame can_message_t::convert_to_canfd_frame()
*
*********************************************************************************/
-can_message_definition_t::can_message_definition_t()
- : last_value_(CAN_MESSAGE_SIZE)
+can_message_definition_t::can_message_definition_t(can_bus_dev_t& cbd)
+ : bus_{cbd}, last_value_(CAN_MESSAGE_SIZE)
{}
uint32_t can_message_definition_t::get_id() const