mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 16:48:52 +08:00
generate uorb topic helper ignore _padding properly
This commit is contained in:
@@ -185,7 +185,7 @@ def print_field(field):
|
||||
"""
|
||||
|
||||
# skip padding
|
||||
if ("_padding" in field.name):
|
||||
if field.name.startswith('_padding'):
|
||||
return
|
||||
|
||||
bare_type = field.type
|
||||
|
||||
Reference in New Issue
Block a user