diff --git a/boards/hal/src/rpi/rpi4/panic_wait.rs b/boards/hal/src/rpi/rpi4/panic_wait.rs index c352cb92..8546a1a4 100644 --- a/boards/hal/src/rpi/rpi4/panic_wait.rs +++ b/boards/hal/src/rpi/rpi4/panic_wait.rs @@ -75,7 +75,7 @@ fn panic(info: &PanicInfo) -> ! { location, line, column, - info.message().unwrap_or(&format_args!("")), + info.message(), ); cpu_core::wait_forever()