forked from M-Labs/artiq
firmware: use writeln instead of write in UART logger.
This commit is contained in:
parent
560889372f
commit
2e09307d8d
@ -25,8 +25,8 @@ impl Log for ConsoleLogger {
|
||||
let seconds = timestamp / 1_000_000;
|
||||
let micros = timestamp % 1_000_000;
|
||||
|
||||
let _ = write!(Console, "[{:6}.{:06}s] {:>5}({}): {}",
|
||||
seconds, micros, record.level(), record.target(), record.args());
|
||||
let _ = writeln!(Console, "[{:6}.{:06}s] {:>5}({}): {}",
|
||||
seconds, micros, record.level(), record.target(), record.args());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user