summaryrefslogtreecommitdiffstats
path: root/CAN-binder/low-can-binding/can/can-signals.cpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-05-10 09:47:50 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-05-10 18:45:55 +0200
commit4e95381b037b783b5f4193134732cb96ff6f52cf (patch)
tree191da42926b23bdc679af4d32db06297065311a8 /CAN-binder/low-can-binding/can/can-signals.cpp
parent415de819e774a7dbe7aa6073c23b6387b1365b9d (diff)
Implement setting last_value at message definition level.
In addition to signal last_values, now message last value is also set. Change-Id: I87c2be3e4e68073d7708b2ddf681889576337410 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'CAN-binder/low-can-binding/can/can-signals.cpp')
-rw-r--r--CAN-binder/low-can-binding/can/can-signals.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/CAN-binder/low-can-binding/can/can-signals.cpp b/CAN-binder/low-can-binding/can/can-signals.cpp
index d072fb36..ec0b311d 100644
--- a/CAN-binder/low-can-binding/can/can-signals.cpp
+++ b/CAN-binder/low-can-binding/can/can-signals.cpp
@@ -71,7 +71,7 @@ utils::socketcan_bcm_t can_signal_t::get_socket() const
return socket_;
}
-const can_message_definition_t& can_signal_t::get_message() const
+can_message_definition_t& can_signal_t::get_message() const
{
return configuration_t::instance().get_can_message_definition(message_set_id_, message_id_);
}