aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32h5/src/bin/stop.rs
diff options
context:
space:
mode:
authorxoviat <[email protected]>2025-11-03 13:02:08 -0600
committerxoviat <[email protected]>2025-11-03 13:02:08 -0600
commitd25b5ce3bec44f4a023403a8b479e034d8386275 (patch)
tree6e2b523d4ce32f72c09d1dd60ab0cf357349f10c /examples/stm32h5/src/bin/stop.rs
parent500181ac28039858d032d10932462c1e432c0452 (diff)
low_power: update api to allow reconfig
Diffstat (limited to 'examples/stm32h5/src/bin/stop.rs')
-rw-r--r--examples/stm32h5/src/bin/stop.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/stm32h5/src/bin/stop.rs b/examples/stm32h5/src/bin/stop.rs
index 3c4f49f64..29a735ed2 100644
--- a/examples/stm32h5/src/bin/stop.rs
+++ b/examples/stm32h5/src/bin/stop.rs
@@ -39,8 +39,6 @@ async fn async_main(spawner: Spawner) {
39 39
40 // give the RTC to the executor... 40 // give the RTC to the executor...
41 let rtc = Rtc::new(p.RTC, RtcConfig::default()); 41 let rtc = Rtc::new(p.RTC, RtcConfig::default());
42 static RTC: StaticCell<Rtc> = StaticCell::new();
43 let rtc = RTC.init(rtc);
44 embassy_stm32::low_power::stop_with_rtc(rtc); 42 embassy_stm32::low_power::stop_with_rtc(rtc);
45 43
46 spawner.spawn(unwrap!(blinky(p.PB4.into()))); 44 spawner.spawn(unwrap!(blinky(p.PB4.into())));