chore: simply some zig fmt builtin changes

This commit is contained in:
2023-07-17 01:07:18 -05:00
parent d96c9c01ff
commit d4b7167e29
22 changed files with 587 additions and 589 deletions

View File

@@ -29,7 +29,7 @@ pub fn tick(self: *Self, ch1: *ToneSweep) void {
if (new_freq <= 0x7FF and ch1.sweep.shift.read() != 0) {
ch1.freq.frequency.write(@as(u11, @truncate(new_freq)));
self.shadow = @as(u11, @truncate(new_freq));
self.shadow = @truncate(new_freq);
_ = self.calculate(ch1.sweep, &ch1.enabled);
}