aboutsummaryrefslogtreecommitdiffstats
path: root/low-can-binding/can
diff options
context:
space:
mode:
Diffstat (limited to 'low-can-binding/can')
-rw-r--r--low-can-binding/can/message/can-message.cpp2
-rw-r--r--low-can-binding/can/message/can-message.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/low-can-binding/can/message/can-message.cpp b/low-can-binding/can/message/can-message.cpp
index 9bc8787f..8a04992e 100644
--- a/low-can-binding/can/message/can-message.cpp
+++ b/low-can-binding/can/message/can-message.cpp
@@ -282,7 +282,7 @@ std::string can_message_t::get_debug_message()
return ret;
}
-struct bcm_msg can_message_t::get_bcm_msg()
+struct bcm_msg& can_message_t::get_bcm_msg()
{
return bcm_msg_;
}
diff --git a/low-can-binding/can/message/can-message.hpp b/low-can-binding/can/message/can-message.hpp
index 76515d80..75e65c67 100644
--- a/low-can-binding/can/message/can-message.hpp
+++ b/low-can-binding/can/message/can-message.hpp
@@ -50,7 +50,7 @@ class can_message_t : public message_t {
bool is_correct_to_send();
bool is_set();
- struct bcm_msg get_bcm_msg();
+ struct bcm_msg& get_bcm_msg();
void set_bcm_msg(struct bcm_msg bcm_msg);
std::string get_debug_message();