Remove anyfmt

This commit is contained in:
Dario Nieuwenhuis
2020-11-27 18:42:59 +01:00
parent 49d5121094
commit 78135a81d9
24 changed files with 79 additions and 231 deletions

View File

@ -6,8 +6,8 @@
mod example_common;
use example_common::*;
use anyfmt::panic;
use cortex_m_rt::entry;
use defmt::{assert_eq, panic, *};
use nrf52840_hal::gpio;
use embassy::executor::{task, Executor};
@ -65,6 +65,7 @@ async fn run() {
write_opcode: qspi::WriteOpcode::PP4IO,
xip_offset: 0,
write_page_size: qspi::WritePageSize::_256BYTES,
deep_power_down: None,
};
let mut q = qspi::Qspi::new(p.QSPI, config);

View File

@ -4,7 +4,7 @@ use defmt_rtt as _; // global logger
use nrf52840_hal as _;
use panic_probe as _;
pub use anyfmt::*;
pub use defmt::*;
use core::sync::atomic::{AtomicUsize, Ordering};