diff options
| author | xoviat <[email protected]> | 2025-11-03 13:02:08 -0600 |
|---|---|---|
| committer | xoviat <[email protected]> | 2025-11-03 13:02:08 -0600 |
| commit | d25b5ce3bec44f4a023403a8b479e034d8386275 (patch) | |
| tree | 6e2b523d4ce32f72c09d1dd60ab0cf357349f10c /tests/stm32/src | |
| parent | 500181ac28039858d032d10932462c1e432c0452 (diff) | |
low_power: update api to allow reconfig
Diffstat (limited to 'tests/stm32/src')
| -rw-r--r-- | tests/stm32/src/bin/stop.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/stm32/src/bin/stop.rs b/tests/stm32/src/bin/stop.rs index 833ca05d0..cb3a5774c 100644 --- a/tests/stm32/src/bin/stop.rs +++ b/tests/stm32/src/bin/stop.rs | |||
| @@ -70,9 +70,6 @@ async fn async_main(spawner: Spawner) { | |||
| 70 | 70 | ||
| 71 | rtc.set_datetime(now.into()).expect("datetime not set"); | 71 | rtc.set_datetime(now.into()).expect("datetime not set"); |
| 72 | 72 | ||
| 73 | static RTC: StaticCell<Rtc> = StaticCell::new(); | ||
| 74 | let rtc = RTC.init(rtc); | ||
| 75 | |||
| 76 | stop_with_rtc(rtc); | 73 | stop_with_rtc(rtc); |
| 77 | 74 | ||
| 78 | spawner.spawn(task_1().unwrap()); | 75 | spawner.spawn(task_1().unwrap()); |
