1
0
Fork 0

libboard_zynq: let println!() write no '\r'

This commit is contained in:
Astro 2020-04-20 23:43:50 +02:00
parent a376b37426
commit f8782f3f69
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ macro_rules! println {
use core::fmt::Write; use core::fmt::Write;
let mut uart = $crate::stdio::get_uart(); let mut uart = $crate::stdio::get_uart();
let _ = write!(uart, $($arg)*); let _ = write!(uart, $($arg)*);
let _ = write!(uart, "\r\n"); let _ = write!(uart, "\n");
while !uart.tx_fifo_empty() {} while !uart.tx_fifo_empty() {}
}) })
} }