aboutsummaryrefslogtreecommitdiff
path: root/examples/t-schedule.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/t-schedule.rs')
-rw-r--r--examples/t-schedule.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/t-schedule.rs b/examples/t-schedule.rs
index 6ee08afb..5ec42087 100644
--- a/examples/t-schedule.rs
+++ b/examples/t-schedule.rs
@@ -25,6 +25,7 @@ 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);
debug::exit(debug::EXIT_SUCCESS); // Exit QEMU simulator