Commit 5b7757dd authored by Arist's avatar Arist

use message same as in panic-semihosting

parent 7bf8b8d5
...@@ -25,7 +25,7 @@ impl Write for Uart { ...@@ -25,7 +25,7 @@ impl Write for Uart {
#[panic_handler] #[panic_handler]
fn panic(info: &PanicInfo) -> ! { fn panic(info: &PanicInfo) -> ! {
write!(Uart, "panic").ok(); write!(Uart, "panicked").ok();
if let Some(message) = info.message() { if let Some(message) = info.message() {
write!(Uart, " at '{}'", message).ok(); write!(Uart, " at '{}'", message).ok();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment