aboutsummaryrefslogtreecommitdiff
path: root/examples-runner/src/bin/periodic.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples-runner/src/bin/periodic.rs')
-rw-r--r--examples-runner/src/bin/periodic.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples-runner/src/bin/periodic.rs b/examples-runner/src/bin/periodic.rs
index e6548202..45600e1e 100644
--- a/examples-runner/src/bin/periodic.rs
+++ b/examples-runner/src/bin/periodic.rs
@@ -25,8 +25,8 @@ mod app {
fn init(cx: init::Context) -> (Shared, Local, init::Monotonics) {
let systick = cx.core.SYST;
- // Initialize the monotonic (SysTick rate in QEMU is 12 MHz)
- let mono = Systick::new(systick, 12_000_000);
+ // Initialize the monotonic
+ let mono = Systick::new(systick, 1_000_000);
foo::spawn_after(1.secs()).unwrap();