Code Review
/
apps
/
agl-service-can-low-level.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Implement setting last_value at message definition level.
[apps/agl-service-can-low-level.git]
/
CAN-binder
/
low-can-binding
/
can
/
can-decoder.cpp
diff --git
a/CAN-binder/low-can-binding/can/can-decoder.cpp
b/CAN-binder/low-can-binding/can/can-decoder.cpp
index
f36c4b9
..
442e373
100644
(file)
--- a/
CAN-binder/low-can-binding/can/can-decoder.cpp
+++ b/
CAN-binder/low-can-binding/can/can-decoder.cpp
@@
-172,6
+172,7
@@
openxc_DynamicField decoder_t::translateSignal(can_signal_t& signal, can_message
*send = false;
}
signal.set_last_value(value);
+ signal.get_message().set_last_value(message);
return decoded_value;
}