aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32l5/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/stm32l5/src/bin/stop.rs
parent500181ac28039858d032d10932462c1e432c0452 (diff)
low_power: update api to allow reconfig
Diffstat (limited to 'examples/stm32l5/src/bin/stop.rs')
-rw-r--r--examples/stm32l5/src/bin/stop.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/stm32l5/src/bin/stop.rs b/examples/stm32l5/src/bin/stop.rs
index c34053190..fd2aca372 100644
--- a/examples/stm32l5/src/bin/stop.rs
+++ b/examples/stm32l5/src/bin/stop.rs
@@ -30,8 +30,6 @@ async fn async_main(spawner: Spawner) {
30 30
31 // give the RTC to the executor... 31 // give the RTC to the executor...
32 let rtc = Rtc::new(p.RTC, RtcConfig::default()); 32 let rtc = Rtc::new(p.RTC, RtcConfig::default());
33 static RTC: StaticCell<Rtc> = StaticCell::new();
34 let rtc = RTC.init(rtc);
35 embassy_stm32::low_power::stop_with_rtc(rtc); 33 embassy_stm32::low_power::stop_with_rtc(rtc);
36 34
37 spawner.spawn(unwrap!(blinky(p.PC7.into()))); 35 spawner.spawn(unwrap!(blinky(p.PC7.into())));