diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-12-26 11:43:54 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-26 11:43:54 +0000 |
| commit | f9902681474a8d203a5ba4209d788c30b27f5db5 (patch) | |
| tree | 2277aed0fbe783870dd94d25f5cdb28bb6323e13 /examples/t-schedule.rs | |
| parent | 5a4bcae1fb5c4cac7201e1f1a2bc131ca68d3952 (diff) | |
| parent | 7bec2347663d0a8c361f48adae7a2fa7e84abede (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/t-schedule.rs')
| -rw-r--r-- | examples/t-schedule.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/t-schedule.rs b/examples/t-schedule.rs index 6ee08af..5ec4208 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 |
