fix format

This commit is contained in:
Mirabellensaft 2022-01-12 18:14:09 +01:00
parent a0b08a9c70
commit 0fc33297f8

View file

@ -4,7 +4,7 @@
use cortex_m::asm; use cortex_m::asm;
use cortex_m_rt::entry; use cortex_m_rt::entry;
// this imports `beginner/apps/lib.rs` to retrieve our global logger + panicking-behavior // this imports `beginner/apps/lib.rs` to retrieve our global logger + panicking-behavior
// use apps as _; use apps as _;
#[entry] #[entry]
fn main() -> ! { fn main() -> ! {
@ -35,8 +35,3 @@ fn bar() {
fn index() -> usize { fn index() -> usize {
3 3
} }
#[panic_handler]
fn panic(info: &core::panic::PanicInfo) -> ! {
defmt::panic!("{}", info);
}