aboutsummaryrefslogtreecommitdiff
path: root/examples/t-schedule-core-stable.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/t-schedule-core-stable.rs')
-rw-r--r--examples/t-schedule-core-stable.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/t-schedule-core-stable.rs b/examples/t-schedule-core-stable.rs
index 10539014..adcc0b69 100644
--- a/examples/t-schedule-core-stable.rs
+++ b/examples/t-schedule-core-stable.rs
@@ -7,13 +7,13 @@
use panic_halt as _;
-#[rtic::app(device = lm3s6965, monotonic = rtic::cyccnt::CYCCNT, dispatchers = [SSI0])]
+#[rtic::app(device = lm3s6965, dispatchers = [SSI0])]
mod app {
#[init]
- fn init(c: init::Context) -> init::LateResources {
- let _c: rtic::Peripherals = c.core;
+ fn init(c: init::Context) -> (init::LateResources, init::Monotonics) {
+ let _c: cortex_m::Peripherals = c.core;
- init::LateResources {}
+ (init::LateResources {}, init::Monotonics())
}
#[task]