mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
kernel: debug: fix klog on baremetal
klog() refers to an outdated `.uart` struct, which has since been renamed to `.serial`. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
d88254b1b1
commit
911ddb60fc
1 changed files with 6 additions and 6 deletions
|
|
@ -36,12 +36,12 @@ impl fmt::Write for Output {
|
|||
self.character_count = 0;
|
||||
} else if self.character_count > 80 {
|
||||
self.character_count = 0;
|
||||
self.uart.putc(b'\n');
|
||||
self.uart.putc(b'\r');
|
||||
self.uart.putc(b' ');
|
||||
self.uart.putc(b' ');
|
||||
self.uart.putc(b' ');
|
||||
self.uart.putc(b' ');
|
||||
self.serial.putc(b'\n');
|
||||
self.serial.putc(b'\r');
|
||||
self.serial.putc(b' ');
|
||||
self.serial.putc(b' ');
|
||||
self.serial.putc(b' ');
|
||||
self.serial.putc(b' ');
|
||||
} else {
|
||||
self.character_count += 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue