diff options
| author | Dario Nieuwenhuis <[email protected]> | 2020-10-19 21:15:24 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2020-10-19 21:25:54 +0200 |
| commit | cd9ecaef57982b33376dcfea3a0406a3df4b09c5 (patch) | |
| tree | 41567981cfe2ba9a65e84a6025daf83cb2204fa5 /examples/src/bin/qspi.rs | |
| parent | 0e1adc58f48a65c6af1d2ededa8712426fb3ab6e (diff) | |
integrate static-executor, cleanup time module.
Diffstat (limited to 'examples/src/bin/qspi.rs')
| -rw-r--r-- | examples/src/bin/qspi.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/src/bin/qspi.rs b/examples/src/bin/qspi.rs index 4e6ee53ea..c60a666ec 100644 --- a/examples/src/bin/qspi.rs +++ b/examples/src/bin/qspi.rs | |||
| @@ -11,7 +11,7 @@ use embassy::flash::Flash; | |||
| 11 | use embassy_nrf::qspi; | 11 | use embassy_nrf::qspi; |
| 12 | use nrf52840_hal::gpio; | 12 | use nrf52840_hal::gpio; |
| 13 | 13 | ||
| 14 | use static_executor::{task, Executor}; | 14 | use embassy::executor::{task, Executor}; |
| 15 | static EXECUTOR: Executor = Executor::new(|| cortex_m::asm::sev()); | 15 | static EXECUTOR: Executor = Executor::new(|| cortex_m::asm::sev()); |
| 16 | 16 | ||
| 17 | const PAGE_SIZE: usize = 4096; | 17 | const PAGE_SIZE: usize = 4096; |
