From f8782f3f699ba0e749a639534553c9dc2599523e Mon Sep 17 00:00:00 2001 From: Astro Date: Mon, 20 Apr 2020 23:43:50 +0200 Subject: [PATCH] libboard_zynq: let println!() write no '\r' --- libboard_zynq/src/stdio.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libboard_zynq/src/stdio.rs b/libboard_zynq/src/stdio.rs index 4fb9d6a..ffe239b 100644 --- a/libboard_zynq/src/stdio.rs +++ b/libboard_zynq/src/stdio.rs @@ -62,7 +62,7 @@ macro_rules! println { use core::fmt::Write; let mut uart = $crate::stdio::get_uart(); let _ = write!(uart, $($arg)*); - let _ = write!(uart, "\r\n"); + let _ = write!(uart, "\n"); while !uart.tx_fifo_empty() {} }) }