forked from Archive/PX4-Autopilot
generate uorb topic helper ignore _padding properly
This commit is contained in:
parent
a98c7cf5c8
commit
e76a7e48c8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue