Skip to content

Commit

Permalink
Put “Bye!” message on its own line (#2431)
Browse files Browse the repository at this point in the history
Before the message would be printed right next to the text echoed
back. We now make sure to print it after a blank line.
  • Loading branch information
mgeisler authored Oct 18, 2024
1 parent 0f00434 commit 1a9941b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bare-metal/aps/examples/src/main_improved.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::<Hvc>().unwrap();
}
// ANCHOR_END: main
Expand Down

0 comments on commit 1a9941b

Please sign in to comment.