diff options
| author | Dario Nieuwenhuis <[email protected]> | 2020-11-27 18:42:59 +0100 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2020-11-27 18:42:59 +0100 |
| commit | 78135a81d96a8bb74207b3f73c9f261aa4561a18 (patch) | |
| tree | 534fb19b9e9d51b557a76617a53934253431f1f4 /examples/src/bin | |
| parent | 49d5121094fb7e2f4ddc3aead351769443515d55 (diff) | |
Remove anyfmt
Diffstat (limited to 'examples/src/bin')
| -rw-r--r-- | examples/src/bin/qspi.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/src/bin/qspi.rs b/examples/src/bin/qspi.rs index a7f668ca7..644018e2d 100644 --- a/examples/src/bin/qspi.rs +++ b/examples/src/bin/qspi.rs | |||
| @@ -6,8 +6,8 @@ | |||
| 6 | mod example_common; | 6 | mod example_common; |
| 7 | use example_common::*; | 7 | use example_common::*; |
| 8 | 8 | ||
| 9 | use anyfmt::panic; | ||
| 10 | use cortex_m_rt::entry; | 9 | use cortex_m_rt::entry; |
| 10 | use defmt::{assert_eq, panic, *}; | ||
| 11 | use nrf52840_hal::gpio; | 11 | use nrf52840_hal::gpio; |
| 12 | 12 | ||
| 13 | use embassy::executor::{task, Executor}; | 13 | use embassy::executor::{task, Executor}; |
| @@ -65,6 +65,7 @@ async fn run() { | |||
| 65 | write_opcode: qspi::WriteOpcode::PP4IO, | 65 | write_opcode: qspi::WriteOpcode::PP4IO, |
| 66 | xip_offset: 0, | 66 | xip_offset: 0, |
| 67 | write_page_size: qspi::WritePageSize::_256BYTES, | 67 | write_page_size: qspi::WritePageSize::_256BYTES, |
| 68 | deep_power_down: None, | ||
| 68 | }; | 69 | }; |
| 69 | 70 | ||
| 70 | let mut q = qspi::Qspi::new(p.QSPI, config); | 71 | let mut q = qspi::Qspi::new(p.QSPI, config); |
