mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 03:43:35 +08:00
add timestamp field to uORB msgs; sync timestamp whenever possible
This commit is contained in:
@@ -65,11 +65,10 @@ def add_msg_fields():
|
||||
for field in sorted_fields:
|
||||
add_msg_field(field)
|
||||
|
||||
|
||||
|
||||
}@
|
||||
@
|
||||
struct @(spec.short_name)_
|
||||
{
|
||||
unsigned long long timestamp;
|
||||
@add_msg_fields()
|
||||
}; // struct @(spec.short_name)_
|
||||
|
||||
Reference in New Issue
Block a user