libboard_zynq: let println!() write no '\r'
This commit is contained in:
parent
a376b37426
commit
f8782f3f69
|
@ -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() {}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue