aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32l5/src/bin/stop.rs
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2025-08-29 12:04:29 +0000
committerGitHub <[email protected]>2025-08-29 12:04:29 +0000
commitf86cf87f2f20f723e2ba2fe7d83908a2b3bac2d1 (patch)
tree57f9200ed729746ef5f077af6c79863c37e824ae /examples/stm32l5/src/bin/stop.rs
parentdf10e8a6bc407544d29c234ed00bdec3e9caf837 (diff)
parente2c34ac735888d25d57d3ea07e8915c2e112048c (diff)
Merge pull request #4606 from diondokter/taskmeta-update-2
Taskmeta update
Diffstat (limited to 'examples/stm32l5/src/bin/stop.rs')
-rw-r--r--examples/stm32l5/src/bin/stop.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/stm32l5/src/bin/stop.rs b/examples/stm32l5/src/bin/stop.rs
index d7a1efea9..c34053190 100644
--- a/examples/stm32l5/src/bin/stop.rs
+++ b/examples/stm32l5/src/bin/stop.rs
@@ -15,7 +15,7 @@ use {defmt_rtt as _, panic_probe as _};
15#[cortex_m_rt::entry] 15#[cortex_m_rt::entry]
16fn main() -> ! { 16fn main() -> ! {
17 Executor::take().run(|spawner| { 17 Executor::take().run(|spawner| {
18 unwrap!(spawner.spawn(async_main(spawner))); 18 spawner.spawn(unwrap!(async_main(spawner)));
19 }) 19 })
20} 20}
21 21
@@ -34,8 +34,8 @@ async fn async_main(spawner: Spawner) {
34 let rtc = RTC.init(rtc); 34 let rtc = RTC.init(rtc);
35 embassy_stm32::low_power::stop_with_rtc(rtc); 35 embassy_stm32::low_power::stop_with_rtc(rtc);
36 36
37 unwrap!(spawner.spawn(blinky(p.PC7.into()))); 37 spawner.spawn(unwrap!(blinky(p.PC7.into())));
38 unwrap!(spawner.spawn(timeout())); 38 spawner.spawn(unwrap!(timeout()));
39} 39}
40 40
41#[embassy_executor::task] 41#[embassy_executor::task]