aboutsummaryrefslogtreecommitdiff
path: root/tests/nrf51422
diff options
context:
space:
mode:
authorUlf Lilleengen <[email protected]>2024-01-26 08:39:50 +0100
committerUlf Lilleengen <[email protected]>2024-01-26 08:39:50 +0100
commit4d8043cade887ecdc8a42e0b9bd9d3b5bcee1dbb (patch)
tree1583a6a3b35a0287f35656c5808be67dcd2714b8 /tests/nrf51422
parent7c21178e378c888963150b879fc9d51684872f9e (diff)
assert only at least time slept
Cannot deterministically guarantee the upper bound
Diffstat (limited to 'tests/nrf51422')
-rw-r--r--tests/nrf51422/src/bin/timer.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/nrf51422/src/bin/timer.rs b/tests/nrf51422/src/bin/timer.rs
index 93f4c2b1c..cf9ea41a8 100644
--- a/tests/nrf51422/src/bin/timer.rs
+++ b/tests/nrf51422/src/bin/timer.rs
@@ -18,7 +18,6 @@ async fn main(_spawner: Spawner) {
18 let ms = (end - start).as_millis(); 18 let ms = (end - start).as_millis();
19 info!("slept for {} ms", ms); 19 info!("slept for {} ms", ms);
20 assert!(ms >= 99); 20 assert!(ms >= 99);
21 assert!(ms < 110);
22 21
23 info!("Test OK"); 22 info!("Test OK");
24 cortex_m::asm::bkpt(); 23 cortex_m::asm::bkpt();