From ad80f250a6e0b0b800666a39393b5d01ec2194db Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Mon, 3 Apr 2023 13:54:09 -0700 Subject: [PATCH] more cleanup --- src/main.zig | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/main.zig b/src/main.zig index f6638a1..e1be6b4 100644 --- a/src/main.zig +++ b/src/main.zig @@ -54,12 +54,6 @@ pub fn main() !void { var pixels: [WIDTH * HEIGHT]u8 = undefined; try convertImage(alloc, opts.background_filename, &pixels, textForLine); try bw.flush(); - // var i: usize = 0; - // while (i < HEIGHT) { - // try stdout.print("{d:0>2}: {s}\n", .{ i, fmtSliceGreyscaleImage(pixels[(i * WIDTH)..((i + 1) * WIDTH)]) }); - // // try stdout.print("{d:0>2}: {s}\n", .{ i, std.fmt.fmtSliceHexLower(pixels[(i * WIDTH)..((i + 1) * WIDTH)]) }); - // i += 1; - // } // We should take the linux device file here, then inspect for ttyUSB vs // i2c whatever and do the right thing from there...