diff options
author | 2021-02-20 19:22:45 +0100 | |
---|---|---|
committer | 2021-02-20 19:22:45 +0100 | |
commit | 555f36857ec93bed26ff4249593992f500b7c4ab (patch) | |
tree | 97db7bea39684b64f33d208bc4c413f469ae53e5 /examples/t-schedule-core-stable.rs | |
parent | d02f9a02411de1bc79490c86541e95879b7b19b8 (diff) | |
download | rtic-555f36857ec93bed26ff4249593992f500b7c4ab.tar.gz rtic-555f36857ec93bed26ff4249593992f500b7c4ab.tar.zst rtic-555f36857ec93bed26ff4249593992f500b7c4ab.zip |
Test fixes
Diffstat (limited to 'examples/t-schedule-core-stable.rs')
-rw-r--r-- | examples/t-schedule-core-stable.rs | 8 |
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] |