mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-25 16:51:16 +08:00
add timestamp field to uORB msgs; sync timestamp whenever possible
This commit is contained in:
1 parent
4a08003952
commit
e932030d88
111 files changed
+203
-87
No files matched your search
@@ -147,7 +147,6 @@ void serialize_@(topic_name)(MicroBuffer *microCDRWriter, const struct @(uorb_st
|
||||
|
||||
reset_micro_buffer(microCDRWriter);
|
||||
|
||||
serialize_uint64_t(microCDRWriter, input->timestamp);
|
||||
@add_code_to_serialize()
|
||||
(*length) = micro_buffer_length(microCDRWriter);
|
||||
}
|
||||
@@ -159,6 +158,5 @@ void deserialize_@(topic_name)(MicroBuffer *microCDRReader, struct @(uorb_struct
|
||||
|
||||
reset_micro_buffer(microCDRReader);
|
||||
|
||||
deserialize_uint64_t(microCDRReader, &output->timestamp);
|
||||
@add_code_to_deserialize()
|
||||
}
|
||||
Reference in new issue
Block a user