aboutsummaryrefslogtreecommitdiff
path: root/examples/schedule.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-12-26 11:43:54 +0000
committerGitHub <noreply@github.com>2021-12-26 11:43:54 +0000
commitf9902681474a8d203a5ba4209d788c30b27f5db5 (patch)
tree2277aed0fbe783870dd94d25f5cdb28bb6323e13 /examples/schedule.rs
parent5a4bcae1fb5c4cac7201e1f1a2bc131ca68d3952 (diff)
parent7bec2347663d0a8c361f48adae7a2fa7e84abede (diff)
Merge #573
573: Improved docs on where the 12 MHz comes from in SysTick r=perlindgren a=korken89 Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
Diffstat (limited to 'examples/schedule.rs')
-rw-r--r--examples/schedule.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/schedule.rs b/examples/schedule.rs
index 446a382..5bad5a3 100644
--- a/examples/schedule.rs
+++ b/examples/schedule.rs
@@ -25,7 +25,7 @@ mod app {
fn init(cx: init::Context) -> (Shared, Local, init::Monotonics) {
let systick = cx.core.SYST;
- // Initialize the monotonic
+ // Initialize the monotonic (SysTick rate in QEMU is 12 MHz)
let mono = Systick::new(systick, 12_000_000);
hprintln!("init").ok();