Skip to content

Commit 1a9941b

Browse files
authored
Put “Bye!” message on its own line (#2431)
Before the message would be printed right next to the text echoed back. We now make sure to print it after a blank line.
1 parent 0f00434 commit 1a9941b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bare-metal/aps/examples/src/main_improved.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ extern "C" fn main(x0: u64, x1: u64, x2: u64, x3: u64) {
5050
}
5151
}
5252

53-
writeln!(uart, "Bye!").unwrap();
53+
writeln!(uart, "\n\nBye!").unwrap();
5454
system_off::<Hvc>().unwrap();
5555
}
5656
// ANCHOR_END: main

0 commit comments

Comments
 (0)