Closed 00xc closed 7 months ago
SerialPort
SerialPort::new()
SerialPort::{inb, outb}()
Option
Console
Some
WRITER
init_console()
install_console_logger()
SerialPort
fields private and useSerialPort::new()
where needed.SerialPort::{inb, outb}()
to simplify code.Option
fromConsole
, as it is alwaysSome
.WRITER
directly frominit_console()
install_console_logger()
instead of implicitly panicking.