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
Added timestamp to received CAN messages
[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
b0d7bb8
..
aa1f57e
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, const can_m
*send = false;
}
signal.set_last_value(value);
+ signal.set_timestamp(message.get_timestamp());
signal.get_message()->set_last_value(message);
return decoded_value;
}