uncomment important code (#193)

wch-ch32v003
Jacob Young 4 months ago committed by GitHub
parent 682699b146
commit f6e759d28b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save