chore: remove some magic constants

This commit is contained in:
2022-01-12 00:46:20 -04:00
parent 3596caf106
commit 769c67b9d4
2 changed files with 7 additions and 4 deletions

View File

@@ -5,8 +5,8 @@ const Io = @import("bus/io.zig").Io;
const Scheduler = @import("scheduler.zig").Scheduler;
const Allocator = std.mem.Allocator;
const width = 240;
const height = 160;
pub const width = 240;
pub const height = 160;
pub const buf_pitch = width * @sizeOf(u16);
const buf_len = buf_pitch * height;