remove hal.uart.panic

wch-ch32v003
Matt Knight 2 years ago
parent e9af302b69
commit 144d557357

@ -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) {}
}

Loading…
Cancel
Save