diff options
| author | Dario Nieuwenhuis <[email protected]> | 2025-07-09 01:49:31 +0200 |
|---|---|---|
| committer | diondokter <[email protected]> | 2025-08-29 13:23:21 +0200 |
| commit | 8aec341f28a00012e1771d5c35d2647e11830755 (patch) | |
| tree | 28ec3bad05e5dcb6ec949493688111839bb6865b /README.md | |
| parent | 34ff67cdbf25e278ff99bd4a05b6b8c6a30fa5d1 (diff) | |
executor: return error when creating the spawntoken, not when spawning.
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -80,7 +80,7 @@ async fn main(spawner: Spawner) { | |||
| 80 | let p = embassy_nrf::init(Default::default()); | 80 | let p = embassy_nrf::init(Default::default()); |
| 81 | 81 | ||
| 82 | // Spawned tasks run in the background, concurrently. | 82 | // Spawned tasks run in the background, concurrently. |
| 83 | spawner.spawn(blink(p.P0_13.into())).unwrap(); | 83 | spawner.spawn(blink(p.P0_13.into()).unwrap()); |
| 84 | 84 | ||
| 85 | let mut button = Input::new(p.P0_11, Pull::Up); | 85 | let mut button = Input::new(p.P0_11, Pull::Up); |
| 86 | loop { | 86 | loop { |
