From 6274505a961df7cd862fb4767d4fff104e96a9f8 Mon Sep 17 00:00:00 2001 From: Lionel Ains Date: Sat, 23 Nov 2024 16:05:45 +0100 Subject: [PATCH] Reverting panic format tweak done for defmt --- boards/hal/src/rpi/rpi4/panic_wait.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()