aboutsummaryrefslogtreecommitdiff
path: root/examples/schedule.rs
diff options
context:
space:
mode:
authorGravatar Emil Fresk <emil.fresk@gmail.com> 2021-12-26 11:42:14 +0100
committerGravatar Emil Fresk <emil.fresk@gmail.com> 2021-12-26 11:42:14 +0100
commit7bec2347663d0a8c361f48adae7a2fa7e84abede (patch)
tree0747044cbe648c37a49ea81a44c23d7106cf8097 /examples/schedule.rs
parent3a1d42b614309759d25fb2bf8c628a1c26159c83 (diff)
downloadrtic-7bec2347663d0a8c361f48adae7a2fa7e84abede.tar.gz
rtic-7bec2347663d0a8c361f48adae7a2fa7e84abede.tar.zst
rtic-7bec2347663d0a8c361f48adae7a2fa7e84abede.zip
Improved docs on where the 12 MHz comes from in SysTick
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 446a3828..5bad5a30 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();