maple: add maple_bus_ft6

This commit is contained in:
Zack Buhman 2024-05-19 15:04:59 -05:00
parent d2ee2c9fe5
commit d354696fe9
2 changed files with 3 additions and 1 deletions

View File

@ -109,8 +109,10 @@ def render_format(format):
yield f"uint8_t {field_name};"
elif len(subfields) == 2:
yield f"uint16_t {field_name};"
elif len(subfields) == 6:
yield f"uint8_t {field_name}[6];"
else:
assert False, len(subfields)
assert False, (len(subfields), field_name)
yield "};"
assert format.size % 4 == 0, format.size

Binary file not shown.