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
Add timestamp to diagnostic message event too
[apps/agl-service-can-low-level.git]
/
low-can-binding
/
utils
/
openxc-utils.cpp
diff --git
a/low-can-binding/utils/openxc-utils.cpp
b/low-can-binding/utils/openxc-utils.cpp
index
35b7d9c
..
3db964d
100644
(file)
--- a/
low-can-binding/utils/openxc-utils.cpp
+++ b/
low-can-binding/utils/openxc-utils.cpp
@@
-366,7
+366,7
@@
bool jsonify_vehicle(const openxc_VehicleMessage& v_msg, json_object* json)
{
if(v_msg.has_timestamp)
{
{
if(v_msg.has_timestamp)
{
- json_object_object_add(json, "timestamp", json_object_new_
double
(v_msg.timestamp));
+ json_object_object_add(json, "timestamp", json_object_new_
int64
(v_msg.timestamp));
return true;
}
return true;
return true;
}
return true;