From d477af96417dd13d422da553bfc16f7da7ae32f8 Mon Sep 17 00:00:00 2001 From: Blinningjr <nicke.l@telia.com> Date: Fri, 8 Jan 2021 12:45:20 +0100 Subject: [PATCH] timing_exam 4) --- examples/timing_exam.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/timing_exam.rs b/examples/timing_exam.rs index c238736..fe69fb2 100644 --- a/examples/timing_exam.rs +++ b/examples/timing_exam.rs @@ -47,7 +47,7 @@ const APP: () = { asm::bkpt(); // emulates timing behavior of t1 - cortex_m::asm::delay(10_000); + cortex_m::asm::delay(9_662); asm::bkpt(); // 2) your code here to update T1_MAX_RP and @@ -74,7 +74,7 @@ const APP: () = { asm::bkpt(); // 1) your code here to emulate timing behavior of t2 - asm::delay(30_000); + asm::delay(29_607); asm::bkpt(); // 2) your code here to update T2_MAX_RP and @@ -101,7 +101,7 @@ const APP: () = { asm::bkpt(); // 1) your code here to emulate timing behavior of t3 - asm::delay(30_000); + asm::delay(29_609); asm::bkpt(); // 2) your code here to update T3_MAX_RP and -- GitLab