aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorxoviat <[email protected]>2023-08-27 21:15:57 -0500
committerxoviat <[email protected]>2023-08-27 21:15:57 -0500
commite981cd496827c01cba11fd6ba40b2b7ed482e49b (patch)
tree7c0676bdb67f803af1165ec63d4318e687daab9a /tests
parent9f928010a86be9e0f8b5fa4257c3edd70261c0dc (diff)
stm32: fix rtc wakeup timing and add dbg
Diffstat (limited to 'tests')
-rw-r--r--tests/stm32/src/bin/stop.rs6
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();