diff options
| author | 1-rafael-1 <[email protected]> | 2025-09-15 20:07:18 +0200 |
|---|---|---|
| committer | 1-rafael-1 <[email protected]> | 2025-09-15 20:07:18 +0200 |
| commit | 6bb3d2c0720fa082f27d3cdb70f516058497ec87 (patch) | |
| tree | 5a1e255cff999b00800f203b91a759c720c973e5 /tests/stm32/src/bin/stop.rs | |
| parent | eb685574601d98c44faed9a3534d056199b46e20 (diff) | |
| parent | 92a6fd2946f2cbb15359290f68aa360953da2ff7 (diff) | |
Merge branch 'main' into rp2040-rtc-alarm
Diffstat (limited to 'tests/stm32/src/bin/stop.rs')
| -rw-r--r-- | tests/stm32/src/bin/stop.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/stm32/src/bin/stop.rs b/tests/stm32/src/bin/stop.rs index 772bc527c..8119c1f39 100644 --- a/tests/stm32/src/bin/stop.rs +++ b/tests/stm32/src/bin/stop.rs | |||
| @@ -19,7 +19,7 @@ use static_cell::StaticCell; | |||
| 19 | #[entry] | 19 | #[entry] |
| 20 | fn main() -> ! { | 20 | fn main() -> ! { |
| 21 | Executor::take().run(|spawner| { | 21 | Executor::take().run(|spawner| { |
| 22 | unwrap!(spawner.spawn(async_main(spawner))); | 22 | spawner.spawn(unwrap!(async_main(spawner))); |
| 23 | }); | 23 | }); |
| 24 | } | 24 | } |
| 25 | 25 | ||
| @@ -75,6 +75,6 @@ async fn async_main(spawner: Spawner) { | |||
| 75 | 75 | ||
| 76 | stop_with_rtc(rtc); | 76 | stop_with_rtc(rtc); |
| 77 | 77 | ||
| 78 | spawner.spawn(task_1()).unwrap(); | 78 | spawner.spawn(task_1().unwrap()); |
| 79 | spawner.spawn(task_2()).unwrap(); | 79 | spawner.spawn(task_2().unwrap()); |
| 80 | } | 80 | } |
