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.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/t-schedule-core-stable.rs b/examples/t-schedule-core-stable.rs
index 10539014..98d42ce7 100644
--- a/examples/t-schedule-core-stable.rs
+++ b/examples/t-schedule-core-stable.rs
@@ -5,15 +5,15 @@
#![no_main]
#![no_std]
-use panic_halt as _;
+use panic_semihosting 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]