Skip to content

Commit

Permalink
uncomment important code (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobly0 committed May 15, 2024
1 parent 682699b commit f6e759d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/regz/src/gen.zig
Original file line number Diff line number Diff line change
Expand Up @@ -657,10 +657,10 @@ fn write_registers_base(
if (offset > size)
@panic("peripheral size too small, parsing should have caught this");

//if (offset != size)
// try writer.print("padding: [{}]u8,\n", .{
// size - offset,
// });
if (offset != size)
try writer.print("padding: [{}]u8,\n", .{
size - offset,
});
}

try out_writer.writeAll(buffer.items);
Expand Down

0 comments on commit f6e759d

Please sign in to comment.