firmware: use writeln instead of write in UART logger.

This commit is contained in:
whitequark 2018-05-29 03:16:52 +00:00
parent 560889372f
commit 2e09307d8d

View File

@ -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());
}
}