mirror of
https://github.com/ferrous-systems/embedded-trainings-2020.git
synced 2025-01-25 07:18:08 +00:00
fix format
This commit is contained in:
parent
a0b08a9c70
commit
0fc33297f8
1 changed files with 1 additions and 6 deletions
|
@ -4,7 +4,7 @@
|
|||
use cortex_m::asm;
|
||||
use cortex_m_rt::entry;
|
||||
// this imports `beginner/apps/lib.rs` to retrieve our global logger + panicking-behavior
|
||||
// use apps as _;
|
||||
use apps as _;
|
||||
|
||||
#[entry]
|
||||
fn main() -> ! {
|
||||
|
@ -35,8 +35,3 @@ fn bar() {
|
|||
fn index() -> usize {
|
||||
3
|
||||
}
|
||||
|
||||
#[panic_handler]
|
||||
fn panic(info: &core::panic::PanicInfo) -> ! {
|
||||
defmt::panic!("{}", info);
|
||||
}
|
Loading…
Reference in a new issue