Skip to content
Snippets Groups Projects
Commit e76a7e48 authored by Daniel Agar's avatar Daniel Agar
Browse files

generate uorb topic helper ignore _padding properly

parent a98c7cf5
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment