diff --git a/regs/gen/maple_data_format.py b/regs/gen/maple_data_format.py index 4be5c48..264a916 100644 --- a/regs/gen/maple_data_format.py +++ b/regs/gen/maple_data_format.py @@ -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 diff --git a/regs/maple_bus_ft6.ods b/regs/maple_bus_ft6.ods index c4c51d5..a847423 100644 Binary files a/regs/maple_bus_ft6.ods and b/regs/maple_bus_ft6.ods differ