diff options
| author | xoviat <[email protected]> | 2023-08-28 21:18:42 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-08-28 21:18:42 +0000 |
| commit | f503417f4c828948db0ea7309da35f733037e1d1 (patch) | |
| tree | bcd3fab84f5cb69382ffd3851c0d42bd2c2cf41e /tests | |
| parent | a36ee75d196752abc798d9eaf9ddedd5f15ec97a (diff) | |
| parent | 6b8b145266faaa06f6483ccb8d227c8060c9a46d (diff) | |
Merge pull request #1833 from xoviat/rtc
stm32: misc rtc fixes
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/stm32/src/bin/stop.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/stm32/src/bin/stop.rs b/tests/stm32/src/bin/stop.rs index 0b3f4a300..a490d7b8c 100644 --- a/tests/stm32/src/bin/stop.rs +++ b/tests/stm32/src/bin/stop.rs | |||
| @@ -46,8 +46,10 @@ async fn async_main(_spawner: Spawner) { | |||
| 46 | 46 | ||
| 47 | stop_with_rtc(rtc); | 47 | stop_with_rtc(rtc); |
| 48 | 48 | ||
| 49 | info!("Waiting 5 seconds"); | 49 | info!("Waiting..."); |
| 50 | Timer::after(Duration::from_secs(5)).await; | 50 | Timer::after(Duration::from_secs(2)).await; |
| 51 | info!("Waiting..."); | ||
| 52 | Timer::after(Duration::from_secs(3)).await; | ||
| 51 | 53 | ||
| 52 | info!("Test OK"); | 54 | info!("Test OK"); |
| 53 | cortex_m::asm::bkpt(); | 55 | cortex_m::asm::bkpt(); |
