mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-26 17:36:40 +08:00
px_generate_uorb_topic_helper: do not account with the timestamp, so the struct size matches
This commit is contained in:
@@ -117,7 +117,7 @@ def add_padding_bytes(fields, search_path):
|
||||
struct size
|
||||
returns a tuple with the struct size and padding at the end
|
||||
"""
|
||||
struct_size = 8 # account for the timestamp
|
||||
struct_size = 0
|
||||
align_to = 8 # this is always 8, because of the 64bit timestamp
|
||||
i = 0
|
||||
padding_idx = 0
|
||||
|
||||
Reference in New Issue
Block a user