Skip to content

Commit 0c324d3

Browse files
committed
use defmt::panic instead of core::panic in example
1 parent ae0df60 commit 0c324d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/panic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ use {{crate_name}} as _; // global logger + panicking-behavior + memory layout
77
fn main() -> ! {
88
defmt::info!("main");
99

10-
panic!()
10+
defmt::panic!()
1111
}

0 commit comments

Comments
 (0)