diff --git a/src/hal/uart.zig b/src/hal/uart.zig index 6616452..d1ca419 100644 --- a/src/hal/uart.zig +++ b/src/hal/uart.zig @@ -249,16 +249,3 @@ pub fn log( uart.print(prefix ++ format ++ "\r\n", .{ seconds, microseconds } ++ args) catch {}; } } - -pub fn panic( - message: []const u8, - _: ?*std.builtin.StackTrace, - _: ?usize, -) noreturn { - if (uart_logger) |writer| { - writer.print("PANIC: {s}\r\n", .{message}) catch {}; - } - - @breakpoint(); - while (true) {} -}