diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-06-13 07:22:04 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-06-13 07:22:04 +0000 |
| commit | db685c04049449ac3e4f256f2e7e26dad550d94c (patch) | |
| tree | f4ec5de70ec05e793a774049e010935ac45853ed /examples/nrf/src/bin/self_spawn_current_executor.rs | |
| parent | fff0a03fe0f9e84209dd40fd8f93790871d03d75 (diff) | |
| parent | a8703b75988e1e700af701116464025679d2feb8 (diff) | |
Merge #808
808: Add rustfmt.toml with some nice settings. r=lulf a=Dirbaio
Co-authored-by: Dario Nieuwenhuis <[email protected]>
Diffstat (limited to 'examples/nrf/src/bin/self_spawn_current_executor.rs')
| -rw-r--r-- | examples/nrf/src/bin/self_spawn_current_executor.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/nrf/src/bin/self_spawn_current_executor.rs b/examples/nrf/src/bin/self_spawn_current_executor.rs index 4850d295d..3c3379ce6 100644 --- a/examples/nrf/src/bin/self_spawn_current_executor.rs +++ b/examples/nrf/src/bin/self_spawn_current_executor.rs | |||
| @@ -6,9 +6,7 @@ use defmt::{info, unwrap}; | |||
| 6 | use embassy::executor::Spawner; | 6 | use embassy::executor::Spawner; |
| 7 | use embassy::time::{Duration, Timer}; | 7 | use embassy::time::{Duration, Timer}; |
| 8 | use embassy_nrf::Peripherals; | 8 | use embassy_nrf::Peripherals; |
| 9 | 9 | use {defmt_rtt as _, panic_probe as _}; | |
| 10 | use defmt_rtt as _; // global logger | ||
| 11 | use panic_probe as _; | ||
| 12 | 10 | ||
| 13 | #[embassy::task(pool_size = 2)] | 11 | #[embassy::task(pool_size = 2)] |
| 14 | async fn my_task(n: u32) { | 12 | async fn my_task(n: u32) { |
