From 1a9941b39fa52ffb8b8b91d617cba5e38a8cb440 Mon Sep 17 00:00:00 2001 From: Martin Geisler Date: Fri, 18 Oct 2024 03:04:19 -0400 Subject: [PATCH] =?UTF-8?q?Put=20=E2=80=9CBye!=E2=80=9D=20message=20on=20i?= =?UTF-8?q?ts=20own=20line=20(#2431)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Before the message would be printed right next to the text echoed back. We now make sure to print it after a blank line. --- src/bare-metal/aps/examples/src/main_improved.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bare-metal/aps/examples/src/main_improved.rs b/src/bare-metal/aps/examples/src/main_improved.rs index dbff9d5398c4..3e1019e203db 100644 --- a/src/bare-metal/aps/examples/src/main_improved.rs +++ b/src/bare-metal/aps/examples/src/main_improved.rs @@ -50,7 +50,7 @@ extern "C" fn main(x0: u64, x1: u64, x2: u64, x3: u64) { } } - writeln!(uart, "Bye!").unwrap(); + writeln!(uart, "\n\nBye!").unwrap(); system_off::().unwrap(); } // ANCHOR_END: main