diff options
| author | Dario Nieuwenhuis <[email protected]> | 2025-08-29 12:04:29 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-08-29 12:04:29 +0000 |
| commit | f86cf87f2f20f723e2ba2fe7d83908a2b3bac2d1 (patch) | |
| tree | 57f9200ed729746ef5f077af6c79863c37e824ae /examples/rp235x/src/bin/interrupt.rs | |
| parent | df10e8a6bc407544d29c234ed00bdec3e9caf837 (diff) | |
| parent | e2c34ac735888d25d57d3ea07e8915c2e112048c (diff) | |
Merge pull request #4606 from diondokter/taskmeta-update-2
Taskmeta update
Diffstat (limited to 'examples/rp235x/src/bin/interrupt.rs')
| -rw-r--r-- | examples/rp235x/src/bin/interrupt.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/rp235x/src/bin/interrupt.rs b/examples/rp235x/src/bin/interrupt.rs index e9ac76486..88513180c 100644 --- a/examples/rp235x/src/bin/interrupt.rs +++ b/examples/rp235x/src/bin/interrupt.rs | |||
| @@ -51,7 +51,7 @@ async fn main(spawner: Spawner) { | |||
| 51 | // No Mutex needed when sharing within the same executor/prio level | 51 | // No Mutex needed when sharing within the same executor/prio level |
| 52 | static AVG: StaticCell<Cell<u32>> = StaticCell::new(); | 52 | static AVG: StaticCell<Cell<u32>> = StaticCell::new(); |
| 53 | let avg = AVG.init(Default::default()); | 53 | let avg = AVG.init(Default::default()); |
| 54 | spawner.must_spawn(processing(avg)); | 54 | spawner.spawn(processing(avg).unwrap()); |
| 55 | 55 | ||
| 56 | let mut ticker = Ticker::every(Duration::from_secs(1)); | 56 | let mut ticker = Ticker::every(Duration::from_secs(1)); |
| 57 | loop { | 57 | loop { |
