mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-12-01 13:40:38 +08:00
generate uorb topic helper ignore _padding properly
This commit is contained in:
1 parent
a98c7cf5c8
commit
e76a7e48c8
1 file changed
+1
-1
@@ -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