generate uorb topic helper ignore _padding properly

This commit is contained in:
Daniel Agar 2018-03-27 11:59:17 -04:00
parent a98c7cf5c8
commit e76a7e48c8
1 changed files with 1 additions and 1 deletions

View File

@ -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