mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-26 01:17:51 +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