diff options
Diffstat (limited to 'examples/common.rs')
-rw-r--r-- | examples/common.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/common.rs b/examples/common.rs index 26a5c8fb..1fe671e6 100644 --- a/examples/common.rs +++ b/examples/common.rs @@ -33,6 +33,8 @@ mod app { #[init] 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); // Spawn the task `foo` directly after `init` finishes |